diff --git a/jgrassgears/src/main/java/org/jgrasstools/gears/libs/modules/GridNodeMultiProcessing.java b/jgrassgears/src/main/java/org/jgrasstools/gears/libs/modules/GridNodeMultiProcessing.java index e7fa41aac..47fb56b6d 100644 --- a/jgrassgears/src/main/java/org/jgrasstools/gears/libs/modules/GridNodeMultiProcessing.java +++ b/jgrassgears/src/main/java/org/jgrasstools/gears/libs/modules/GridNodeMultiProcessing.java @@ -68,11 +68,11 @@ protected void processGridNodes( GridCoverage2D inElev, Calculator cal for (int c = 1; c < cols - 1; c++) { int _c = c, _r = r; planner.submit( () -> { - if (!pm.isCanceled()) { + if (true /*!pm.isCanceled()*/) { // GridNode ctor does a lot of calculating -> must be inside the loop GridNode node = new GridNode( elevationIter, cols, rows, xRes, yRes, _c, _r ); calculator.calculate( node ); - pm.worked( 1 ); + // pm.worked( 1 ); } }); }