[Bf-blender-cvs] [323c24d5630] temp-geometry-nodes-distribute-points-cleanup: Disable progress sampling for cySample

Dalai Felinto noreply at git.blender.org
Fri Dec 11 16:49:17 CET 2020


Commit: 323c24d5630faff34fbaf8cdcb31f6f87dbb1d22
Author: Dalai Felinto
Date:   Fri Dec 11 16:48:58 2020 +0100
Branches: temp-geometry-nodes-distribute-points-cleanup
https://developer.blender.org/rB323c24d5630faff34fbaf8cdcb31f6f87dbb1d22

Disable progress sampling for cySample

For now this matches the native approach.

===================================================================

M	source/blender/nodes/geometry/nodes/cySampleElim.hh

===================================================================

diff --git a/source/blender/nodes/geometry/nodes/cySampleElim.hh b/source/blender/nodes/geometry/nodes/cySampleElim.hh
index 94cdff456ac..9f1e2cdb93a 100644
--- a/source/blender/nodes/geometry/nodes/cySampleElim.hh
+++ b/source/blender/nodes/geometry/nodes/cySampleElim.hh
@@ -201,7 +201,7 @@ class WeightedSampleElimination {
       d_max = 2 * GetMaxPoissonDiskRadius(dimensions, outputSize);
     }
     DoEliminate(inputPoints, inputSize, outputPoints, outputSize, d_max, weightFunction, false);
-    if (progressive) {
+    if (progressive && false) {
       std::vector<PointType> tmpPoints(outputSize);
       PointType *inPts = outputPoints;
       PointType *outPts = tmpPoints.data();



More information about the Bf-blender-cvs mailing list