mirror of
https://github.com/godotengine/godot.git
synced 2026-01-01 05:49:28 +03:00
Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
leading to unnecesary copy on writes and reduced performance.
This commit is contained in:
@@ -2466,7 +2466,7 @@ VisualScriptNode::TypeGuess VisualScriptEditor::_guess_output_type(int p_port_ac
|
||||
in_guesses.push_back(g);
|
||||
}
|
||||
|
||||
return node->guess_output_type(in_guesses.ptr(), p_port_action_output);
|
||||
return node->guess_output_type(in_guesses.ptrw(), p_port_action_output);
|
||||
}
|
||||
|
||||
void VisualScriptEditor::_port_action_menu(int p_option) {
|
||||
|
||||
Reference in New Issue
Block a user