Fix marking scene as dirty when creating prefab from existing actor
#1916
This commit is contained in:
@@ -124,6 +124,7 @@ namespace FlaxEditor.Modules
|
||||
if (!Editor.StateMachine.CurrentState.CanEditScene)
|
||||
return;
|
||||
undo = Editor.Undo;
|
||||
Editor.Scene.MarkSceneEdited(actor.Scene);
|
||||
}
|
||||
|
||||
// Record undo for prefab creating (backend links the target instance with the prefab)
|
||||
|
||||
Reference in New Issue
Block a user