diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-05-07 01:07:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 01:07:10 +0200 |
commit | 504bace60fd60565894d9aa9ef769148e02b7e06 (patch) | |
tree | 8b9c07138d626420231a4bd1ed547cd194c38d19 /editor | |
parent | 8dc12135e4f301546765a61fe2a4c17164023364 (diff) | |
parent | e168baf433fee964d103693e227cce7f27b8905e (diff) |
Merge pull request #48521 from likeich/remove_extra_separator
Remove extra separator in scenetree dock menu
Diffstat (limited to 'editor')
-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(); } } |