Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-02-23 02:41:08 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-02-23 02:41:08 +0400
commit78e1da961c0e6eeeacffefd1ab3cca3947f4b3b6 (patch)
tree4b02d36185870405f68bc42e3e9d17e538941bb4 /source/blender/blenlib/BLI_pbvh.h
parent444885848d6b5de53af94758ddca6b4b6dcd5d68 (diff)
Code cleanup: remove unused 'skip' field from PBVH iterator.
Diffstat (limited to 'source/blender/blenlib/BLI_pbvh.h')
-rw-r--r--source/blender/blenlib/BLI_pbvh.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/blenlib/BLI_pbvh.h b/source/blender/blenlib/BLI_pbvh.h
index e7dc5c4b065..3b52c9b77db 100644
--- a/source/blender/blenlib/BLI_pbvh.h
+++ b/source/blender/blenlib/BLI_pbvh.h
@@ -142,7 +142,6 @@ typedef struct PBVHVertexIter {
int g;
int width;
int height;
- int skip;
int gx;
int gy;
int i;
@@ -182,13 +181,6 @@ void pbvh_vertex_iter_init(PBVH *bvh, PBVHNode *node,
vi.width= vi.gridsize; \
vi.height= vi.gridsize; \
vi.grid= vi.grids[vi.grid_indices[vi.g]]; \
- vi.skip= 0; \
- \
- /*if(mode == PVBH_ITER_UNIQUE) { \
- vi.grid += subm->grid.offset; \
- vi.skip= subm->grid.skip; \
- vi.grid -= skip; \
- }*/ \
} \
else { \
vi.width= vi.totvert; \
@@ -196,8 +188,6 @@ void pbvh_vertex_iter_init(PBVH *bvh, PBVHNode *node,
} \
\
for(vi.gy=0; vi.gy<vi.height; vi.gy++) { \
- if(vi.grid) vi.grid += vi.skip; \
- \
for(vi.gx=0; vi.gx<vi.width; vi.gx++, vi.i++) { \
if(vi.grid) { \
vi.co= vi.grid->co; \