Merge pull request #48521 from likeich/remove_extra_separator

Remove extra separator in scenetree dock menu
This commit is contained in:
Rémi Verschelde 2021-05-07 01:07:10 +02:00 committed by GitHub
commit 504bace60f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} }
} }