mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
@ -294,7 +294,7 @@ void Voxelizer::_plot_face(int p_idx, int p_level, int p_x, int p_y, int p_z, co
|
|||
Vector<Color> Voxelizer::_get_bake_texture(Ref<Image> p_image, const Color &p_color_mul, const Color &p_color_add) {
|
||||
Vector<Color> ret;
|
||||
|
||||
if (p_image.is_null() || p_image->empty()) {
|
||||
if (p_image.is_null() || p_image->is_empty()) {
|
||||
ret.resize(bake_texture_size * bake_texture_size);
|
||||
for (int i = 0; i < bake_texture_size * bake_texture_size; i++) {
|
||||
ret.write[i] = p_color_add;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue