mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-14 10:17:20 +01:00
Fix assign.
This commit is contained in:
parent
4691e2aaef
commit
ee03e42a5a
@ -486,7 +486,7 @@ Array VoxelChunk::bake_mesh_array_uv(Array arr, Ref<Texture> tex, float mul_colo
|
||||
|
||||
Color c = img->get_pixelv(uv);
|
||||
|
||||
colors[i] = colors[i] * c * mul_color;
|
||||
colors.set(i, colors[i] * c * mul_color);
|
||||
}
|
||||
|
||||
img->unlock();
|
||||
|
Loading…
Reference in New Issue
Block a user