mirror of
https://github.com/Relintai/voxelman.git
synced 2025-01-27 15:19:18 +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);
|
Color c = img->get_pixelv(uv);
|
||||||
|
|
||||||
colors[i] = colors[i] * c * mul_color;
|
colors.set(i, colors[i] * c * mul_color);
|
||||||
}
|
}
|
||||||
|
|
||||||
img->unlock();
|
img->unlock();
|
||||||
|
Loading…
Reference in New Issue
Block a user