Skip to content
Snippets Groups Projects
Commit 1a8d08d5 authored by Knuiman, Bart's avatar Knuiman, Bart
Browse files

cancelToken added in upper for loop

parent 1427e320
Branches
No related tags found
No related merge requests found
...@@ -349,7 +349,7 @@ namespace Wander ...@@ -349,7 +349,7 @@ namespace Wander
List<QuadTreeNode> stack = new List<QuadTreeNode>(); List<QuadTreeNode> stack = new List<QuadTreeNode>();
// For each pixel. // For each pixel.
for (int y = 0;y < resolution ;y++) for (int y = 0;y < resolution && !cancelToken;y++)
{ {
for (int x = 0;x < resolution && !cancelToken ;x++) for (int x = 0;x < resolution && !cancelToken ;x++)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment