Fix signal already connected error.

This commit is contained in:
Relintai 2022-04-13 23:48:02 +02:00
parent 68591bb15c
commit 52f53b785d
2 changed files with 0 additions and 5 deletions

View File

@ -841,10 +841,6 @@ void MDIGizmo::on_mesh_data_resource_changed(Ref<MeshDataResource> mdr) {
_indices.resize(0);
}
if (_mdr.is_valid()) {
_mdr->connect("changed", this, "on_mdr_changed");
}
recalculate_handle_points();
redraw();
}

View File

@ -53,7 +53,6 @@ MDRUVRectEditorPopup::MDRUVRectEditorPopup() {
_editor->set_v_size_flags(SIZE_EXPAND_FILL);
add_child(_editor);
get_cancel()->connect("pressed", this, "on_cancel_pressed");
set_size(Vector2(700, 500));