Improved SceneNodeDoubleClick names
This commit is contained in:
@@ -354,13 +354,13 @@ namespace FlaxEditor.Windows
|
|||||||
{
|
{
|
||||||
switch (Editor.Options.Options.Input.DoubleClickSceneNode)
|
switch (Editor.Options.Options.Input.DoubleClickSceneNode)
|
||||||
{
|
{
|
||||||
case SceneNodeDoubleClick.Rename:
|
case SceneNodeDoubleClick.RenameActor:
|
||||||
Rename();
|
Rename();
|
||||||
return true;
|
return true;
|
||||||
case SceneNodeDoubleClick.Focus:
|
case SceneNodeDoubleClick.FocusActor:
|
||||||
Editor.Windows.EditWin.Viewport.FocusSelection();
|
Editor.Windows.EditWin.Viewport.FocusSelection();
|
||||||
return true;
|
return true;
|
||||||
case SceneNodeDoubleClick.Open:
|
case SceneNodeDoubleClick.OpenPrefab:
|
||||||
return Editor.Prefabs.OpenPrefab();
|
return Editor.Prefabs.OpenPrefab();
|
||||||
case SceneNodeDoubleClick.None:
|
case SceneNodeDoubleClick.None:
|
||||||
default:
|
default:
|
||||||
@@ -496,14 +496,14 @@ namespace FlaxEditor.Windows
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Rename the Scene Node
|
/// Rename the Scene Node
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Rename,
|
RenameActor,
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Focus the Scene Node object in the Scene View
|
/// Focus the Scene Node object in the Scene View
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Focus,
|
FocusActor,
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// If possible, open the scene node in an associated Editor (e.g. Prefab Editor)
|
/// If possible, open the scene node in an associated Editor (e.g. Prefab Editor)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Open
|
OpenPrefab
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user