summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-07 01:07:10 +0200
committerGitHub <noreply@github.com>2021-05-07 01:07:10 +0200
commit504bace60fd60565894d9aa9ef769148e02b7e06 (patch)
tree8b9c07138d626420231a4bd1ed547cd194c38d19 /editor
parent8dc12135e4f301546765a61fe2a4c17164023364 (diff)
parente168baf433fee964d103693e227cce7f27b8905e (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.cpp2
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();
}
}