Skip to content

Commit 484e5b6

Browse files
committed
reset brace stack
1 parent d8d536a commit 484e5b6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

editor/shader/text_shader_editor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@ bool TextShaderPreview::_is_inside_loop(const PackedStringArray &p_lines, int p_
343343
if (func_regex->search(clean_line).is_valid()) {
344344
return false;
345345
}
346+
347+
brace_stack = 0;
346348
}
347349
}
348350

0 commit comments

Comments
 (0)