mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Replace size() == 0 with is_empty().
This commit is contained in:
parent
c7ea8614d7
commit
4f4031a675
147 changed files with 300 additions and 300 deletions
|
|
@ -166,7 +166,7 @@ void ShaderFileEditor::_update_options() {
|
|||
}
|
||||
}
|
||||
|
||||
if (version_list.size() == 0) {
|
||||
if (version_list.is_empty()) {
|
||||
for (int i = 0; i < RD::SHADER_STAGE_MAX; i++) {
|
||||
stages[i]->set_disabled(true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue