mirror of
https://github.com/godotengine/godot.git
synced 2025-04-13 01:00:35 +08:00
Remove extra separator
Removes an extra separator when Scene Tree Editing is disabled. Discussed in #48518 (cherry picked from commit e168baf433fee964d103693e227cce7f27b8905e)
This commit is contained in:
parent
f711464030
commit
629c3e2a0a
@ -2623,7 +2623,7 @@ void SceneTreeDock::_tree_rmb(const Vector2 &p_menu_pos) {
|
||||
}
|
||||
}
|
||||
|
||||
if (add_separator) {
|
||||
if (add_separator && profile_allow_editing) {
|
||||
menu->add_separator();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user