Browse Source

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

Bind CanvasItemEditor::_zoom_on_position and CanvasItemEditor::get_st…
Rémi Verschelde 4 years ago
parent
commit
1d35a35d4f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      editor/plugins/canvas_item_editor_plugin.cpp

+ 2 - 0
editor/plugins/canvas_item_editor_plugin.cpp

@@ -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"));