mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[Core] Add case-insensitive String::containsn
This commit is contained in:
parent
281fe39929
commit
b4c6cc7d82
23 changed files with 64 additions and 32 deletions
|
@ -1957,7 +1957,7 @@ void VisualShaderEditor::_update_options_menu() {
|
|||
}
|
||||
|
||||
for (int i = 0; i < add_options.size(); i++) {
|
||||
if (!use_filter || add_options[i].name.findn(filter) != -1) {
|
||||
if (!use_filter || add_options[i].name.containsn(filter)) {
|
||||
// port type filtering
|
||||
if (members_output_port_type != VisualShaderNode::PORT_TYPE_MAX || members_input_port_type != VisualShaderNode::PORT_TYPE_MAX) {
|
||||
Ref<VisualShaderNode> vsn;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue