Minor improvements and fixes for Editor

This commit is contained in:
Wojtek Figat
2021-11-04 15:59:06 +01:00
parent d5f9e18107
commit 6dfedd219b
9 changed files with 48 additions and 24 deletions

View File

@@ -271,8 +271,11 @@ namespace FlaxEditor.Windows.Assets
private void Update(ActorNode actorNode)
{
actorNode.TreeNode.OnNameChanged();
actorNode.TreeNode.OnOrderInParentChanged();
if (actorNode.Actor)
{
actorNode.TreeNode.OnNameChanged();
actorNode.TreeNode.OnOrderInParentChanged();
}
for (int i = 0; i < actorNode.ChildNodes.Count; i++)
{