mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-27 06:07:14 +01:00
Bind a few methods to fix undo redo support, and events for mdr ed.
This commit is contained in:
parent
10b7d20418
commit
4d49128e4c
@ -2209,4 +2209,10 @@ MDIGizmo::~MDIGizmo() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MDIGizmo::_bind_methods() {
|
void MDIGizmo::_bind_methods() {
|
||||||
|
ClassDB::bind_method(D_METHOD("on_mdr_changed"), &MDIGizmo::on_mdr_changed);
|
||||||
|
ClassDB::bind_method(D_METHOD("on_mesh_data_resource_changed"), &MDIGizmo::on_mesh_data_resource_changed);
|
||||||
|
|
||||||
|
ClassDB::bind_method(D_METHOD("apply_mesh_change"), &MDIGizmo::apply_mesh_change);
|
||||||
|
ClassDB::bind_method(D_METHOD("set_seam"), &MDIGizmo::set_seam);
|
||||||
|
ClassDB::bind_method(D_METHOD("apply_vertex_array"), &MDIGizmo::apply_vertex_array);
|
||||||
}
|
}
|
||||||
|
@ -109,4 +109,5 @@ MDREdUVPreviewer::~MDREdUVPreviewer() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MDREdUVPreviewer::_bind_methods() {
|
void MDREdUVPreviewer::_bind_methods() {
|
||||||
|
ClassDB::bind_method(D_METHOD("on_mdr_changed"), &MDREdUVPreviewer::on_mdr_changed);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user