Skip to content

Commit

Permalink
Fix new entity's properties not immediately showing up in right sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
LagoLunatic committed Apr 1, 2020
1 parent 4b7fae9 commit 9376de0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Editor/Editor/Modes/ActorMode/ActorMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ public void CreateEntity()
EditorSelection.ClearSelection();
EditorSelection.AddToSelection(newNode);
World.UndoStack.EndMacro();

OnSelectionChanged(); // Update the right sidebar to show the new entity's properties
}

public void GoToEntity()
Expand Down

0 comments on commit 9376de0

Please sign in to comment.