diff options
author | Kyle <eichlinkyle@gmail.com> | 2021-05-06 17:37:12 -0400 |
---|---|---|
committer | Kyle <eichlinkyle@gmail.com> | 2021-05-06 17:37:12 -0400 |
commit | e168baf433fee964d103693e227cce7f27b8905e (patch) | |
tree | ea7075c7fd6584e5dc463668e1cddedfed218620 | |
parent | a33a8f1e2919aa6c5793c52c74ca7fbf71a3aeba (diff) |
Remove extra separator
Removes an extra separator when Scene Tree Editing is disabled. Discussed in #48518
-rw-r--r-- | editor/scene_tree_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 2a2960ed6f..d74054e7d9 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -2624,7 +2624,7 @@ void SceneTreeDock::_tree_rmb(const Vector2 &p_menu_pos) { } } - if (add_separator) { + if (add_separator && profile_allow_editing) { menu->add_separator(); } } |