aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_path.cpp
diff options
context:
space:
mode:
authorIndah Sylvia2017-08-07 17:17:31 +0700
committerIndah Sylvia2017-08-07 18:24:35 +0700
commit5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2 (patch)
tree3f0dcef53a38d356a40fd7adce40387f21904a18 /editor/editor_path.cpp
parent7e4970214c92fec0e7262f36765764a81e28b2be (diff)
downloadgodot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.gz
godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.zst
godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.zip
Diffstat (limited to 'editor/editor_path.cpp')
-rw-r--r--editor/editor_path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_path.cpp b/editor/editor_path.cpp
index 8ce4f8859..fdac68ea1 100644
--- a/editor/editor_path.cpp
+++ b/editor/editor_path.cpp
@@ -63,7 +63,7 @@ void EditorPath::_add_children_to_popup(Object *p_obj, int p_depth) {
int index = popup->get_item_count();
popup->add_icon_item(icon, E->get().name.capitalize(), objects.size());
popup->set_item_h_offset(index, p_depth * 10 * EDSCALE);
- objects.push_back(obj->get_instance_ID());
+ objects.push_back(obj->get_instance_id());
_add_children_to_popup(obj, p_depth + 1);
}