Skip to content

Commit

Permalink
Merge pull request godotengine#1440 from Naros/propertyinfo-wrong-usa…
Browse files Browse the repository at this point in the history
…ge-init-value

Fix PropertyInfo to use hint/usage default constants
  • Loading branch information
dsnopek authored Apr 17, 2024
2 parents 6873658 + e160966 commit ad307e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/godot_cpp/core/property_info.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ad307e4

Please sign in to comment.