From 77f1d228cd84051bcd60ce7792e25884902920a9 Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Tue, 16 Apr 2024 00:01:55 -0400 Subject: [PATCH] Fix PropertyInfo to use hint/usage default constants (cherry picked from commit e160966163a4ccf04b531903adc88d9531af309a) --- include/godot_cpp/core/property_info.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/godot_cpp/core/property_info.hpp b/include/godot_cpp/core/property_info.hpp index 0ecfa322..901cc951 100644 --- a/include/godot_cpp/core/property_info.hpp +++ b/include/godot_cpp/core/property_info.hpp @@ -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;