[Bf-blender-cvs] [cf91db62a99] temp-geometry-nodes-distribute-points-cleanup: Cleanup: commits

Dalai Felinto noreply at git.blender.org
Fri Dec 11 02:00:47 CET 2020


Commit: cf91db62a993a13a4906acae0dab0feaa4c551ed
Author: Dalai Felinto
Date:   Thu Dec 10 11:32:06 2020 +0100
Branches: temp-geometry-nodes-distribute-points-cleanup
https://developer.blender.org/rBcf91db62a993a13a4906acae0dab0feaa4c551ed

Cleanup: commits

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

M	source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc b/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc
index 79ccef2224d..93764ed4d8e 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc
@@ -166,8 +166,7 @@ static Vector<float3> poisson_scatter_points_from_mesh(const Mesh *mesh,
   }
 
   /* Scatter points randomly on the mesh with higher density (5-7) times higher than desired for
-   * good quality possion disk distributions.
-   */
+   * good quality possion disk distributions. */
   int quality = 5;
   const int output_points_target = 1000;
   points.resize(output_points_target * quality);
@@ -206,7 +205,6 @@ static Vector<float3> poisson_scatter_points_from_mesh(const Mesh *mesh,
                 2);
 
   Vector<float3> final_points;
-  // TODO do some clever reserveing based on bounding box size perhaps?
   final_points.reserve(output_points_target);
 
   /* Check if we have any points we should remove from the final possion distribition. */



More information about the Bf-blender-cvs mailing list