You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add NIL_IS_VARIANT usage to few definitions
The missing usage flag led to GDNative API descriptions containting arguments with "void" type.
This commit is contained in:
@@ -1109,7 +1109,7 @@ void VisualScriptConstant::_bind_methods() {
|
||||
}
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "type", PROPERTY_HINT_ENUM, argt), "set_constant_type", "get_constant_type");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::NIL, "value"), "set_constant_value", "get_constant_value");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::NIL, "value", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NIL_IS_VARIANT), "set_constant_value", "get_constant_value");
|
||||
}
|
||||
|
||||
class VisualScriptNodeInstanceConstant : public VisualScriptNodeInstance {
|
||||
|
||||
Reference in New Issue
Block a user