Merge pull request #116292 from ryevdokimov/sibiling-error
Fix silent failure when creating collision shape as sibling of scene root
This commit is contained in:
commit
b7b205c410
1 changed files with 2 additions and 4 deletions
|
|
@ -365,10 +365,8 @@ void MeshInstance3DEditor::_create_collision_shape() {
|
|||
|
||||
for (Node *E : selection) {
|
||||
if (placement_option == SHAPE_PLACEMENT_SIBLING && E == get_tree()->get_edited_scene_root()) {
|
||||
if (verbose) {
|
||||
err_dialog->set_text(TTR("Can't create a collision shape as sibling for the scene root."));
|
||||
err_dialog->popup_centered();
|
||||
}
|
||||
err_dialog->set_text(TTR("Can't create a collision shape as sibling for the scene root."));
|
||||
err_dialog->popup_centered();
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue