Fix crash when reimporting with Skeleton3D selected.
This commit is contained in:
parent
06d5189167
commit
ed083a9fbe
|
@ -871,8 +871,10 @@ void Skeleton3DEditor::_notification(int p_what) {
|
|||
skeleton->disconnect("pose_updated", callable_mp(this, &Skeleton3DEditor::_update_properties));
|
||||
skeleton->set_transform_gizmo_visible(true);
|
||||
#endif
|
||||
if (handles_mesh_instance->get_parent()) {
|
||||
handles_mesh_instance->get_parent()->remove_child(handles_mesh_instance);
|
||||
}
|
||||
}
|
||||
edit_mode_toggled(false);
|
||||
} break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue