mirror of
https://github.com/Relintai/terraman_2d.git
synced 2024-11-12 10:15:18 +01:00
Fix reversed logic in if.
This commit is contained in:
parent
67b9090bd1
commit
3499536f1c
@ -160,7 +160,7 @@ void Terrain2DMesherBlocky::add_chunk_normal(Ref<Terrain2DChunkDefault> chunk) {
|
||||
Vector2(1, 1)
|
||||
};
|
||||
|
||||
if (texture_scale <= 1) {
|
||||
if (texture_scale > 1) {
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
uvs[i] = surface->transform_uv_scaled(uvs[i], x % texture_scale, y % texture_scale, texture_scale);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user