aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/tree.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 /scene/gui/tree.cpp
parent7e4970214c92fec0e7262f36765764a81e28b2be (diff)
downloadgodot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.gz
godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.zst
godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.zip
Diffstat (limited to 'scene/gui/tree.cpp')
-rw-r--r--scene/gui/tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp
index 9499ba9dc..0ce29b747 100644
--- a/scene/gui/tree.cpp
+++ b/scene/gui/tree.cpp
@@ -291,7 +291,7 @@ void TreeItem::set_custom_draw(int p_column, Object *p_object, const StringName
ERR_FAIL_INDEX(p_column, cells.size());
ERR_FAIL_NULL(p_object);
- cells[p_column].custom_draw_obj = p_object->get_instance_ID();
+ cells[p_column].custom_draw_obj = p_object->get_instance_id();
cells[p_column].custom_draw_callback = p_callback;
}