Merge branch 'select-after-spawn' of https://github.com/Tryibion/FlaxEngine into Tryibion-select-after-spawn
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user