summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Cranford <chris@hibernate.org>2024-04-16 00:01:55 -0400
committerChris Cranford <chris@hibernate.org>2024-04-16 07:24:48 -0400
commite160966163a4ccf04b531903adc88d9531af309a (patch)
treeb4bf169af7e721a40c8a00ffbb5633441d839e9d
parent4b7661a60a4788cc7d5ce690cf8a5815b0aab511 (diff)
downloadredot-cpp-e160966163a4ccf04b531903adc88d9531af309a.tar.gz
Fix PropertyInfo to use hint/usage default constants
-rw-r--r--include/godot_cpp/core/property_info.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/godot_cpp/core/property_info.hpp b/include/godot_cpp/core/property_info.hpp
index f610f3f..84d5c57 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;