Moved the PBVH from sculpt session to DerivedMesh/CDDM.
authorNicholas Bishop <nicholasbishop@gmail.com>
Wed, 28 Oct 2009 06:06:05 +0000 (06:06 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Wed, 28 Oct 2009 06:06:05 +0000 (06:06 +0000)
commit243c73e96e18c126227d43728e2d3639c9f7ee41
tree7c34c44f28125754586c414a602327d4421e468a
parent93beb0b85a4a0e301d9bfae9edee1fe7bdabba12
Moved the PBVH from sculpt session to DerivedMesh/CDDM.

* Multires sculpting appears to work now
* PBVH gets recalculated in some cases where it shouldn't, haven't looked into this yet
source/blender/blenkernel/BKE_DerivedMesh.h
source/blender/blenkernel/BKE_paint.h
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/subsurf_ccg.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/editors/space_view3d/drawobject.c