diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-04 23:36:38 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-04 23:36:38 +0300 |
commit | 636fe9068094668dd4bfe28dd144b1217ec7e0c8 (patch) | |
tree | dbe4bd537579b794974cb1af527d1001dd40752b /source/blender/blenlib/BLI_pbvh.h | |
parent | b90d8ec0f454dfdd12f1284aabaff12b4cc93481 (diff) |
Sculpt: updating normals now no longer uses the vert-face map, to save memory.
The weak point now is the thread-safe atomic access to normals from multiple
threads, did not seem to be a bottleneck in my tests but I don't really trust
it to be fast.
Diffstat (limited to 'source/blender/blenlib/BLI_pbvh.h')
-rw-r--r-- | source/blender/blenlib/BLI_pbvh.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_pbvh.h b/source/blender/blenlib/BLI_pbvh.h index 78e2a9b8745..ba9de462b3d 100644 --- a/source/blender/blenlib/BLI_pbvh.h +++ b/source/blender/blenlib/BLI_pbvh.h @@ -90,8 +90,7 @@ void *BLI_pbvh_node_get_draw_buffers(PBVHNode *node); /* Update Normals/Bounding Box/Draw Buffers/Redraw and clear flags */ -void BLI_pbvh_update(PBVH *bvh, int flags, - float (*face_nors)[3], struct ListBase *fmap); +void BLI_pbvh_update(PBVH *bvh, int flags, float (*face_nors)[3]); void BLI_pbvh_redraw_bounding_box(PBVH *bvh, float bb_min[3], float bb_max[3]); #endif /* BLI_PBVH_H */ |