You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Merge pull request #25018 from AllanDaemon/#24895
Fix support for optional parameters in setters
This commit is contained in:
@@ -221,6 +221,7 @@ public:
|
||||
|
||||
virtual DataType get_datatype() const { return return_type; }
|
||||
virtual void set_datatype(const DataType &p_datatype) { return_type = p_datatype; }
|
||||
int get_required_argument_count() { return arguments.size() - default_values.size(); }
|
||||
|
||||
FunctionNode() {
|
||||
type = TYPE_FUNCTION;
|
||||
|
||||
Reference in New Issue
Block a user