Fix preserving Editor undo actions during play mode

This commit is contained in:
Wojtek Figat
2020-12-24 00:01:33 +01:00
parent 8347e15413
commit da389eea03
3 changed files with 4 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ namespace FlaxEditor.Progress.Handlers
_selectionCache.Cache();
// Clear references to the user scripts (we gonna reload an assembly)
Editor.Instance.Scene.ClearRefsToSceneObjects();
Editor.Instance.Scene.ClearRefsToSceneObjects(true);
}
private void OnScriptsReload()