Ensure gizmos are added to newly created Node3D-derivatives and silence error for attempting to create gizmos twice
This commit is contained in:
parent
895f2a21f4
commit
f8cc2e054d
2 changed files with 4 additions and 10 deletions
|
|
@ -7120,7 +7120,9 @@ void Node3DEditor::_request_gizmo(Object *p_obj) {
|
|||
}
|
||||
}
|
||||
}
|
||||
sp->update_gizmos();
|
||||
if (!sp->get_gizmos().is_empty()) {
|
||||
sp->update_gizmos();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue