Merge pull request #48521 from likeich/remove_extra_separator
Remove extra separator in scenetree dock menu
This commit is contained in:
commit
504bace60f
|
@ -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();
|
menu->add_separator();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue