You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
Some code changed with Clang-Tidy
This commit is contained in:
@@ -158,10 +158,7 @@ bool VisualShaderEditor::_is_available(int p_mode) {
|
||||
p_mode = temp_mode;
|
||||
}
|
||||
|
||||
if (p_mode != -1 && ((p_mode & current_mode) == 0)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return (p_mode == -1 || (p_mode & current_mode) != 0);
|
||||
}
|
||||
|
||||
void VisualShaderEditor::_update_options_menu() {
|
||||
|
||||
Reference in New Issue
Block a user