1 parent 792ce62 commit d6ef2e9Copy full SHA for d6ef2e9
1 file changed
include/godot_cpp/core/property_info.hpp
@@ -80,7 +80,9 @@ struct PropertyInfo {
80
dict["type"] = type;
81
dict["hint"] = hint;
82
dict["hint_string"] = hint_string;
83
- dict["usage"] = usage;
+ if (usage != PROPERTY_USAGE_NONE) {
84
+ dict["usage"] = usage;
85
+ }
86
return dict;
87
}
88
0 commit comments