mirror of
https://github.com/godotengine/godot.git
synced 2025-10-23 18:03:35 +00:00
Made basic call nodes unsequenced, since they are like gdscript and most return const.
This commit is contained in:
parent
bb34384a9c
commit
ee37c2f433
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
int VisualScriptFunctionCall::get_output_sequence_port_count() const {
|
||||
|
||||
if (method_cache.flags&METHOD_FLAG_CONST)
|
||||
if (method_cache.flags&METHOD_FLAG_CONST || call_mode==CALL_MODE_BASIC_TYPE)
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
||||
|
|
@ -20,7 +20,7 @@ int VisualScriptFunctionCall::get_output_sequence_port_count() const {
|
|||
|
||||
bool VisualScriptFunctionCall::has_input_sequence_port() const{
|
||||
|
||||
if (method_cache.flags&METHOD_FLAG_CONST)
|
||||
if (method_cache.flags&METHOD_FLAG_CONST || call_mode==CALL_MODE_BASIC_TYPE)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue