diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-15 12:50:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-15 12:51:28 +0300 |
commit | c7598cd1a517fd6d0eb9c903d6727dcd1449d1a2 (patch) | |
tree | 703748affcc6f06ca4e90383ff0b5a4841edd7cb /source | |
parent | 5b04829d43996267f2dec8ef5a1418e71647b3c5 (diff) |
Cleanup: spelling
Missed in recent commit.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 10 |
1 files changed, 5 insertions, 5 deletions
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++) { |