Fix PropertyInfo to use hint/usage default constants

(cherry picked from commit e160966163)
pull/1442/head
Chris Cranford 2024-04-16 00:01:55 -04:00 committed by David Snopek
parent ab5b9f2ceb
commit 77f1d228cd
1 changed files with 2 additions and 2 deletions

View File

@ -47,9 +47,9 @@ struct PropertyInfo {
Variant::Type type = Variant::NIL;
StringName name;
StringName class_name;
uint32_t hint = 0;
uint32_t hint = PROPERTY_HINT_NONE;
String hint_string;
uint32_t usage = 7;
uint32_t usage = PROPERTY_USAGE_DEFAULT;
PropertyInfo() = default;