From bb8aa107fd064a095479350bd22b1ce3ed146784 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Wed, 13 May 2020 05:31:51 -0400 Subject: Remove 32-bit String to_int method --- editor/editor_properties.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'editor/editor_properties.cpp') diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 81c4e48974..0e71d412ee 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -376,13 +376,13 @@ void EditorPropertyMember::_property_select() { selector->select_method_from_base_type(hint_text, current); } else if (hint == MEMBER_METHOD_OF_INSTANCE) { - Object *instance = ObjectDB::get_instance(ObjectID(hint_text.to_int64())); + Object *instance = ObjectDB::get_instance(ObjectID(hint_text.to_int())); if (instance) { selector->select_method_from_instance(instance, current); } } else if (hint == MEMBER_METHOD_OF_SCRIPT) { - Object *obj = ObjectDB::get_instance(ObjectID(hint_text.to_int64())); + Object *obj = ObjectDB::get_instance(ObjectID(hint_text.to_int())); if (Object::cast_to