diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-05-31 11:45:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 11:45:59 +0200 |
commit | 1d35a35d4f6ddf2e0d4af517b1dd3ee0d273c56e (patch) | |
tree | e11359d166611051a29c734fb42ddc0ff9e6fadf /editor/plugins | |
parent | 52ab531a56d1bf9423f7646c4c554138379126f8 (diff) | |
parent | a715887299d6073d2eef6d8301b97926f64bbac3 (diff) |
Merge pull request #49175 from nobuyukinyuu/bind-zoom-on-position
Bind CanvasItemEditor::_zoom_on_position and CanvasItemEditor::get_st…
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 5811e2b9ba..2be586733b 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/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")); |