Merge branch 'select-after-spawn' of https://github.com/Tryibion/FlaxEngine into Tryibion-select-after-spawn

This commit is contained in:
Wojtek Figat
2023-12-27 21:02:33 +01:00

View File

@@ -386,6 +386,7 @@ namespace FlaxEditor.Windows.Assets
// Spawn it
Spawn(actor);
Rename();
}
/// <summary>
@@ -415,6 +416,7 @@ namespace FlaxEditor.Windows.Assets
// Create undo action
var action = new CustomDeleteActorsAction(new List<SceneGraphNode>(1) { actorNode }, true);
Undo.AddAction(action);
Select(actorNode);
}
private void OnTreeRightClick(TreeNode node, Float2 location)