mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-03 22:55:55 +01:00
Fix signal already connected error.
This commit is contained in:
parent
68591bb15c
commit
52f53b785d
@ -841,10 +841,6 @@ void MDIGizmo::on_mesh_data_resource_changed(Ref<MeshDataResource> mdr) {
|
|||||||
_indices.resize(0);
|
_indices.resize(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_mdr.is_valid()) {
|
|
||||||
_mdr->connect("changed", this, "on_mdr_changed");
|
|
||||||
}
|
|
||||||
|
|
||||||
recalculate_handle_points();
|
recalculate_handle_points();
|
||||||
redraw();
|
redraw();
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,6 @@ MDRUVRectEditorPopup::MDRUVRectEditorPopup() {
|
|||||||
_editor->set_v_size_flags(SIZE_EXPAND_FILL);
|
_editor->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||||
add_child(_editor);
|
add_child(_editor);
|
||||||
|
|
||||||
|
|
||||||
get_cancel()->connect("pressed", this, "on_cancel_pressed");
|
get_cancel()->connect("pressed", this, "on_cancel_pressed");
|
||||||
|
|
||||||
set_size(Vector2(700, 500));
|
set_size(Vector2(700, 500));
|
||||||
|
Loading…
Reference in New Issue
Block a user