summaryrefslogtreecommitdiff
path: root/tests/test_class_db.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2021-09-07 11:59:46 -0300
committerGitHub <noreply@github.com>2021-09-07 11:59:46 -0300
commit93aa158b5e1b3b11c3482834504e791c3898baf0 (patch)
treedd0de472b6a31e4878a765025990d08977619320 /tests/test_class_db.h
parent88c3e3180a52b2460429dfc031555392394fd97d (diff)
parent4bd7700e89f4476a3b2c76e7bed4263a111b3c09 (diff)
Merge pull request #52277 from groud/implement_array_property_hint
Implement properties arrays in the Inspector.
Diffstat (limited to 'tests/test_class_db.h')
-rw-r--r--tests/test_class_db.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_class_db.h b/tests/test_class_db.h
index ea680da5d6..20397bb144 100644
--- a/tests/test_class_db.h
+++ b/tests/test_class_db.h
@@ -527,7 +527,7 @@ void add_exposed_classes(Context &r_context) {
Map<StringName, StringName> accessor_methods;
for (const PropertyInfo &property : property_list) {
- if (property.usage & PROPERTY_USAGE_GROUP || property.usage & PROPERTY_USAGE_SUBGROUP || property.usage & PROPERTY_USAGE_CATEGORY) {
+ if (property.usage & PROPERTY_USAGE_GROUP || property.usage & PROPERTY_USAGE_SUBGROUP || property.usage & PROPERTY_USAGE_CATEGORY || (property.type == Variant::NIL && property.usage & PROPERTY_USAGE_ARRAY)) {
continue;
}