You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Replace size() == 0 with is_empty().
This commit is contained in:
@@ -7979,7 +7979,7 @@ Control *VisualShaderNodePluginDefault::create_editor(const Ref<Resource> &p_par
|
||||
}
|
||||
|
||||
Vector<StringName> properties = p_node->get_editable_properties();
|
||||
if (properties.size() == 0) {
|
||||
if (properties.is_empty()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@@ -7996,7 +7996,7 @@ Control *VisualShaderNodePluginDefault::create_editor(const Ref<Resource> &p_par
|
||||
}
|
||||
}
|
||||
|
||||
if (pinfo.size() == 0) {
|
||||
if (pinfo.is_empty()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user