Revert sequence port VisualScriptPropertySet basic type
Revert a part of #50709. Adding a sequence port to basic type set breaks backwards compatibility
This commit is contained in:
parent
0452832a16
commit
be7718c96c
1 changed files with 4 additions and 2 deletions
|
@ -901,11 +901,13 @@ static Ref<VisualScriptNode> create_function_call_node(const String &p_name) {
|
|||
//////////////////////////////////////////
|
||||
|
||||
int VisualScriptPropertySet::get_output_sequence_port_count() const {
|
||||
return 1;
|
||||
return call_mode != CALL_MODE_BASIC_TYPE ? 1 : 0;
|
||||
//return 1; //Adding a sequence port to set_basic_type breaks backwards compatibility
|
||||
}
|
||||
|
||||
bool VisualScriptPropertySet::has_input_sequence_port() const {
|
||||
return 1;
|
||||
return call_mode != CALL_MODE_BASIC_TYPE;
|
||||
//return 1; //Adding a sequence port to set_basic_type breaks backwards compatibility
|
||||
}
|
||||
|
||||
Node *VisualScriptPropertySet::_get_base_node() const {
|
||||
|
|
Loading…
Reference in a new issue