You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Replace size() == 0 with is_empty().
This commit is contained in:
@@ -2121,7 +2121,7 @@ void RendererSceneCull::_update_instance_aabb(Instance *p_instance) const {
|
||||
}
|
||||
|
||||
void RendererSceneCull::_update_instance_lightmap_captures(Instance *p_instance) const {
|
||||
bool first_set = p_instance->lightmap_sh.size() == 0;
|
||||
bool first_set = p_instance->lightmap_sh.is_empty();
|
||||
p_instance->lightmap_sh.resize(9); //using SH
|
||||
p_instance->lightmap_target_sh.resize(9); //using SH
|
||||
Color *instance_sh = p_instance->lightmap_target_sh.ptrw();
|
||||
|
||||
Reference in New Issue
Block a user