rename VisualScriptingDescriptionPanel to NodeDescriptionPanel
The description panel no longer only shows in the visual scripting editor but also in the material editor. There is one editor setting that shows/ hides both so I changed the name to something more general.
This commit is contained in:
@@ -376,11 +376,11 @@ namespace FlaxEditor.Options
|
|||||||
public float ConnectionCurvature { get; set; } = 1.0f;
|
public float ConnectionCurvature { get; set; } = 1.0f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the visject connection curvature.
|
/// Gets or sets a value that indicates wether the context menu description panel is shown or not.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DefaultValue(true)]
|
[DefaultValue(true)]
|
||||||
[EditorDisplay("Visject"), EditorOrder(550), Tooltip("Shows/hides the description panel in the visual scripting context menu.")]
|
[EditorDisplay("Visject"), EditorOrder(550), Tooltip("Shows/hides the description panel in visual scripting context menu.")]
|
||||||
public bool VisualScriptingDescriptionPanel { get; set; } = true;
|
public bool NodeDescriptionPanel { get; set; } = true;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the surface grid snapping option.
|
/// Gets or sets the surface grid snapping option.
|
||||||
|
|||||||
@@ -809,7 +809,7 @@ namespace FlaxEditor.Surface.ContextMenu
|
|||||||
if (!_useDescriptionPanel)
|
if (!_useDescriptionPanel)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (archetype == null || !Editor.Instance.Options.Options.Interface.VisualScriptingDescriptionPanel)
|
if (archetype == null || !Editor.Instance.Options.Options.Interface.NodeDescriptionPanel)
|
||||||
{
|
{
|
||||||
HideDescriptionPanel();
|
HideDescriptionPanel();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user