Merge pull request #49175 from nobuyukinyuu/bind-zoom-on-position

Bind CanvasItemEditor::_zoom_on_position and CanvasItemEditor::get_st…
This commit is contained in:
Rémi Verschelde 2021-05-31 11:45:59 +02:00 committed by GitHub
commit 1d35a35d4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5361,8 +5361,10 @@ void CanvasItemEditor::_bind_methods() {
ClassDB::bind_method("_queue_update_bone_list", &CanvasItemEditor::_update_bone_list);
ClassDB::bind_method("_update_bone_list", &CanvasItemEditor::_update_bone_list);
ClassDB::bind_method("_reset_create_position", &CanvasItemEditor::_reset_create_position);
ClassDB::bind_method(D_METHOD("get_state"), &CanvasItemEditor::get_state);
ClassDB::bind_method(D_METHOD("set_state"), &CanvasItemEditor::set_state);
ClassDB::bind_method(D_METHOD("update_viewport"), &CanvasItemEditor::update_viewport);
ClassDB::bind_method(D_METHOD("_zoom_on_position"), &CanvasItemEditor::_zoom_on_position);
ADD_SIGNAL(MethodInfo("item_lock_status_changed"));
ADD_SIGNAL(MethodInfo("item_group_status_changed"));