summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-04-07 14:01:57 +0200
committerkobewi <kobewi4e@gmail.com>2023-08-28 15:18:48 +0200
commit67db4693ebdc972eae2395fecd39dc174045b980 (patch)
tree54bd2a4097fd2b744459e45f3f14a66895a46cb2 /tests
parent713bfaf5eac1eb8a770e5ee825db29de99f3d0f7 (diff)
downloadredot-engine-67db4693ebdc972eae2395fecd39dc174045b980.tar.gz
Expose _validate_property() for scripting
Diffstat (limited to 'tests')
-rw-r--r--tests/core/object/test_object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/core/object/test_object.h b/tests/core/object/test_object.h
index 8ab6221a1c..a3d6b38ca4 100644
--- a/tests/core/object/test_object.h
+++ b/tests/core/object/test_object.h
@@ -82,6 +82,8 @@ public:
Variant::Type get_property_type(const StringName &p_name, bool *r_is_valid) const override {
return Variant::PACKED_FLOAT32_ARRAY;
}
+ virtual void validate_property(PropertyInfo &p_property) const override {
+ }
bool property_can_revert(const StringName &p_name) const override {
return false;
};