|
@@ -12,7 +12,7 @@
|
|
|
|
|
|
int VisualScriptFunctionCall::get_output_sequence_port_count() const {
|
|
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;
|
|
return 0;
|
|
else
|
|
else
|
|
return 1;
|
|
return 1;
|
|
@@ -20,7 +20,7 @@ int VisualScriptFunctionCall::get_output_sequence_port_count() const {
|
|
|
|
|
|
bool VisualScriptFunctionCall::has_input_sequence_port() 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;
|
|
return false;
|
|
else
|
|
else
|
|
return true;
|
|
return true;
|