Bind a few methods to fix undo redo support, and events for mdr ed.

This commit is contained in:
Relintai 2022-04-13 23:31:23 +02:00
parent 10b7d20418
commit 4d49128e4c
2 changed files with 7 additions and 0 deletions

View File

@ -2209,4 +2209,10 @@ MDIGizmo::~MDIGizmo() {
}
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);
}

View File

@ -109,4 +109,5 @@ MDREdUVPreviewer::~MDREdUVPreviewer() {
}
void MDREdUVPreviewer::_bind_methods() {
ClassDB::bind_method(D_METHOD("on_mdr_changed"), &MDREdUVPreviewer::on_mdr_changed);
}