Sculpt: updating normals now no longer uses the vert-face map, to save memory.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 4 Nov 2009 20:36:38 +0000 (20:36 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 4 Nov 2009 20:36:38 +0000 (20:36 +0000)
commit636fe9068094668dd4bfe28dd144b1217ec7e0c8
treedbe4bd537579b794974cb1af527d1001dd40752b
parentb90d8ec0f454dfdd12f1284aabaff12b4cc93481
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.
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenlib/BLI_pbvh.h
source/blender/blenlib/intern/pbvh.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/makesdna/DNA_meshdata_types.h