mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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:
parent
b759d1416f
commit
61ddf52983
3 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue