Remove extra separator
Removes an extra separator when Scene Tree Editing is disabled. Discussed in #48518
(cherry picked from commit e168baf433
)
This commit is contained in:
parent
e6cbb4d460
commit
b622a9e359
|
@ -2647,7 +2647,7 @@ void SceneTreeDock::_tree_rmb(const Vector2 &p_menu_pos) {
|
|||
}
|
||||
}
|
||||
|
||||
if (add_separator) {
|
||||
if (add_separator && profile_allow_editing) {
|
||||
menu->add_separator();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue