From e160966163a4ccf04b531903adc88d9531af309a 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 --- 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 f610f3fd..84d5c573 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;