Blender Git Loki
Git Commits -> Revision 8514290
Revision 8514290 by Nicholas Bishop (soc-2010-nicolasbishop) July 7, 2010, 19:11 (GMT) |
Some preparation for accelerating other paint modes than sculpt * Replaced Object.sculpt with Object.paint. This new PaintSession type for now just contains the PBVH so it can be built more or less the same for different paint modes. It also contains the old SculptSession data. * Removed a couple of unused fields from SculptSession. * Changed a lot of sculpt functions to pass around the Object rather than SculptSession; made sense anyway because we added an Object field to SculptSession to work around that problem. * There should be no visible changes from this commit. |
Commit Details:
Full Hash: 8514290319cb3571b0179673046e54a3ee87c586
SVN Revision: 30093
Parent Commit: 2e0f477
Lines Changed: +267, -225
14 Modified Paths:
/source/blender/blenkernel/BKE_paint.h (+13, -17) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+9, -6) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/multires.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/object.c (+2, -28) (Diff)
/source/blender/blenkernel/intern/paint.c (+50, -2) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+11, -8) (Diff)
/source/blender/blenloader/intern/readfile.c (+4, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+12, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+147, -134) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+5, -5) (Diff)
/source/blender/makesdna/DNA_object_types.h (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+3, -4) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+9, -6) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/multires.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/object.c (+2, -28) (Diff)
/source/blender/blenkernel/intern/paint.c (+50, -2) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+11, -8) (Diff)
/source/blender/blenloader/intern/readfile.c (+4, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+12, -8) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+147, -134) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+1, -1) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+5, -5) (Diff)
/source/blender/makesdna/DNA_object_types.h (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+3, -4) (Diff)