[Bf-blender-cvs] [438ebed0c8f] temp-lanpr-staging: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Fri Aug 16 03:04:43 CEST 2019


Commit: 438ebed0c8f2be33cc6a4249a1460dd60547e2a9
Author: Campbell Barton
Date:   Thu Aug 15 19:50:52 2019 +1000
Branches: temp-lanpr-staging
https://developer.blender.org/rB438ebed0c8f2be33cc6a4249a1460dd60547e2a9

Cleanup: spelling

Missed in recent commit.

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

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 e0e25ad0fb8..440c4d42cae 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -209,14 +209,14 @@ static void sculpt_vertex_tag_update(SculptSession *ss, int index)
   }
 }
 
-#  define SCULPT_VERTEX_NEIGHBOUR_FIXED_CAPACITY 256
+#  define SCULPT_VERTEX_NEIGHBOR_FIXED_CAPACITY 256
 
 typedef struct SculptVertexNeighborIter {
   int *neighbors;
   int size;
   int capacity;
 
-  int neighbors_fixed[SCULPT_VERTEX_NEIGHBOUR_FIXED_CAPACITY];
+  int neighbors_fixed[SCULPT_VERTEX_NEIGHBOR_FIXED_CAPACITY];
 
   int index;
   int i;
@@ -231,7 +231,7 @@ static void sculpt_vertex_neighbor_add(SculptVertexNeighborIter *iter, int neigh
   }
 
   if (iter->size >= iter->capacity) {
-    iter->capacity += SCULPT_VERTEX_NEIGHBOUR_FIXED_CAPACITY;
+    iter->capacity += SCULPT_VERTEX_NEIGHBOR_FIXED_CAPACITY;
 
     if (iter->neighbors == iter->neighbors_fixed) {
       iter->neighbors = MEM_mallocN(iter->capacity * sizeof(int), "neighbor array");
@@ -255,7 +255,7 @@ static void sculpt_vertex_neighbors_get_bmesh(SculptSession *ss,
   BMIter liter;
   BMLoop *l;
   iter->size = 0;
-  iter->capacity = SCULPT_VERTEX_NEIGHBOUR_FIXED_CAPACITY;
+  iter->capacity = SCULPT_VERTEX_NEIGHBOR_FIXED_CAPACITY;
   iter->neighbors = iter->neighbors_fixed;
 
   int i = 0;
@@ -277,7 +277,7 @@ static void sculpt_vertex_neighbors_get_faces(SculptSession *ss,
   int i;
   MeshElemMap *vert_map = &ss->pmap[(int)index];
   iter->size = 0;
-  iter->capacity = SCULPT_VERTEX_NEIGHBOUR_FIXED_CAPACITY;
+  iter->capacity = SCULPT_VERTEX_NEIGHBOR_FIXED_CAPACITY;
   iter->neighbors = iter->neighbors_fixed;
 
   for (i = 0; i < ss->pmap[(int)index].count; i++) {



More information about the Bf-blender-cvs mailing list