[Bf-blender-cvs] [1bdadef21ce] sculpt-mode-features: Change neighbour array default size

Pablo Dobarro noreply at git.blender.org
Tue Jul 30 18:15:10 CEST 2019


Commit: 1bdadef21ce262799eecf4be0eaa1a910ccc610d
Author: Pablo Dobarro
Date:   Tue Jul 30 18:16:27 2019 +0200
Branches: sculpt-mode-features
https://developer.blender.org/rB1bdadef21ce262799eecf4be0eaa1a910ccc610d

Change neighbour array default size

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

M	source/blender/editors/sculpt_paint/sculpt.c

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

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index e448fe89d7f..25ef711aecd 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -215,7 +215,7 @@ typedef struct SculptVertexNeighbourIter {
   int i;
 } SculptVertexNeighbourIter;
 
-#define SCULPT_VERTEX_NEIGHBOUR_MAX 3
+#define SCULPT_VERTEX_NEIGHBOUR_MAX 256
 
 void sculpt_vertex_neighbour_add(SculptVertexNeighbourIter *iter, int neighbour_index)
 {



More information about the Bf-blender-cvs mailing list