summaryrefslogtreecommitdiffstats
path: root/core/object/object.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-06-30 15:45:31 +0200
committerGitHub <noreply@github.com>2022-06-30 15:45:31 +0200
commitdaa055d479916b9fdb9b6cf3bc6aa822f35a2be6 (patch)
tree189564999355bf826399c89a7ec85a56b1043268 /core/object/object.cpp
parentc5ad34d6cdb027a28014ad3ca82a56ce4e8096d8 (diff)
parent60ffadd133ba2d3c44539f17a64b16b3448efd01 (diff)
downloadredot-engine-daa055d479916b9fdb9b6cf3bc6aa822f35a2be6.tar.gz
Merge pull request #61867 from Bromeon/refactor/property-info
Diffstat (limited to 'core/object/object.cpp')
-rw-r--r--core/object/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/object.cpp b/core/object/object.cpp
index 440da00c17..5f2287c9d3 100644
--- a/core/object/object.cpp
+++ b/core/object/object.cpp
@@ -493,7 +493,7 @@ void Object::get_property_list(List<PropertyInfo> *p_list, bool p_reversed) cons
uint32_t pcount;
const GDNativePropertyInfo *pinfo = _extension->get_property_list(_extension_instance, &pcount);
for (uint32_t i = 0; i < pcount; i++) {
- p_list->push_back(PropertyInfo(Variant::Type(pinfo[i].type), pinfo[i].class_name, PropertyHint(pinfo[i].hint), pinfo[i].hint_string, pinfo[i].usage, pinfo[i].class_name));
+ p_list->push_back(PropertyInfo(pinfo[i]));
}
if (_extension->free_property_list) {
_extension->free_property_list(_extension_instance, pinfo);