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:
Ruslan Mustakov 2017-10-05 18:44:00 +07:00
parent b759d1416f
commit 61ddf52983
3 changed files with 3 additions and 3 deletions

View file

@ -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 {