Skip to content

Commit

Permalink
Fixup 17f8aaf broken builds
Browse files Browse the repository at this point in the history
  • Loading branch information
TokisanGames committed Jan 8, 2025
1 parent fba0242 commit a0c19e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terrain_3d_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -909,8 +909,8 @@ void Terrain3DData::import_images(const TypedArray<Image> &p_images, const Vecto
for (int y = 0; y < slices_height; y++) {
for (int x = 0; x < slices_width; x++) {
Vector2i start_coords = Vector2i(x * _region_size, y * _region_size);
LOG(DEBUG, "Reviewing image section ", start_coords, " to ", end_coords);
Vector2i end_coords = Vector2i((x + 1) * _region_size - 1, (y + 1) * _region_size - 1);
LOG(DEBUG, "Reviewing image section ", start_coords, " to ", end_coords);

Vector2i size_to_copy;
if (end_coords.x <= img_size.x && end_coords.y <= img_size.y) {
Expand Down

0 comments on commit a0c19e2

Please sign in to comment.