Skip to content

Commit

Permalink
CraterCrashGH-583 Always show execution pins on user-defined script f…
Browse files Browse the repository at this point in the history
…unctions
  • Loading branch information
Naros committed Jul 24, 2024
1 parent 7c8f566 commit 8f15816
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/script/nodes/functions/call_script_function.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class OScriptNodeCallScriptFunction : public OScriptNodeCallFunction

//~ Begin OScriptNodeCallFunction Interface
bool _is_method_info_serialized() const override { return false; }
bool _has_execution_pins(const MethodInfo& p_method) const override { return true; }
MethodInfo get_method_info() override { return _function->get_method_info(); }
int get_argument_count() const override { return (int) _function->get_argument_count(); }
//~ End OScriptNodeCallFunction Interface
Expand Down

0 comments on commit 8f15816

Please sign in to comment.