diff options
| author | Indah Sylvia | 2017-08-07 17:17:31 +0700 |
|---|---|---|
| committer | Indah Sylvia | 2017-08-07 18:24:35 +0700 |
| commit | 5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2 (patch) | |
| tree | 3f0dcef53a38d356a40fd7adce40387f21904a18 /editor/plugins/canvas_item_editor_plugin.cpp | |
| parent | 7e4970214c92fec0e7262f36765764a81e28b2be (diff) | |
| download | godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.gz godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.zst godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.zip | |
Makes all Godot API's methods Lower Case
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index a809a68c2..f5d9da195 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -385,7 +385,7 @@ void CanvasItemEditor::_add_canvas_item(CanvasItem *p_canvas_item) { return; canvas_items.insert(p_canvas_item,p_info); - p_canvas_item->connect("hide",this,"_visibility_changed",varray(p_canvas_item->get_instance_ID()),CONNECT_ONESHOT); + p_canvas_item->connect("hide",this,"_visibility_changed",varray(p_canvas_item->get_instance_id()),CONNECT_ONESHOT); #endif } @@ -2204,7 +2204,7 @@ void CanvasItemEditor::_find_canvas_items_span(Node *p_node, Rect2 &r_rect, cons if (c->has_meta("_edit_bone_")) { - ObjectID id = c->get_instance_ID(); + ObjectID id = c->get_instance_id(); if (!bone_list.has(id)) { BoneList bone; bone.bone = id; @@ -2769,7 +2769,7 @@ void CanvasItemEditor::_popup_callback(int p_op) { pc.pos = n2d->get_position(); pc.rot = n2d->get_rotation(); pc.scale = n2d->get_scale(); - pc.id = n2d->get_instance_ID(); + pc.id = n2d->get_instance_id(); pose_clipboard.push_back(pc); } } |
