You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Remove extra separator
Removes an extra separator when Scene Tree Editing is disabled. Discussed in #48518
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user