Skip to content

Commit

Permalink
Merge pull request #23 from MrWoafer/fix-image-turning
Browse files Browse the repository at this point in the history
Fixed image turning
  • Loading branch information
MrWoafer authored Oct 23, 2024
2 parents 92a4fd6 + db18589 commit a4661a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Files/File.cs
Original file line number Diff line number Diff line change
Expand Up @@ -945,9 +945,9 @@ private void RerenderLiveRender()
int[] layerIndices = Functions.Range(0, layers.Count() - 1);

int index = 0;
for (int x = 0; x < width; x++)
for (int y = 0; y < height; y++)
{
for (int y = 0; y < height; y++)
for (int x = 0; x < width; x++)
{
pixels[index] = RenderPixel(x, y, layerIndices, liveRenderFrame);
index++;
Expand Down

0 comments on commit a4661a7

Please sign in to comment.