diff options
author | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2019-06-29 15:51:33 +0300 |
---|---|---|
committer | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2019-06-29 15:51:33 +0300 |
commit | 55234d62b079fd6a18b9f0dafaf4af296becfe20 (patch) | |
tree | fadf532167e585ffcb640046dca5e4457059d5b3 /core/class_db.h | |
parent | ae70eca5afbf8a6b1d5c11cec96c5746845391bc (diff) |
Remove bogus nulls from generated default values
Also, fix crash in PluginScript destructor.
Diffstat (limited to 'core/class_db.h')
-rw-r--r-- | core/class_db.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/class_db.h b/core/class_db.h index 8adbc9ba98..237ae9b806 100644 --- a/core/class_db.h +++ b/core/class_db.h @@ -357,7 +357,7 @@ public: static void get_enum_list(const StringName &p_class, List<StringName> *p_enums, bool p_no_inheritance = false); static void get_enum_constants(const StringName &p_class, const StringName &p_enum, List<StringName> *p_constants, bool p_no_inheritance = false); - static Variant class_get_default_property_value(const StringName &p_class, const StringName &p_property); + static Variant class_get_default_property_value(const StringName &p_class, const StringName &p_property, bool *r_valid = NULL); static StringName get_category(const StringName &p_node); |