Blender Git Loki
Git Commits -> Revision 31f978c
Revision 31f978c by Nicholas Bishop (master) December 30, 2012, 18:26 (GMT) |
Move layer displacements from SculptUndoNode to PBVHNode * This doesn't make much difference for regular mesh/multires sculpting, but for dynamic topology sculpting the undo stack isn't split up by PBVH nodes, so it's more convenient to store the layer data in PBVH nodes. * Note that the life cycle of the layer displacement data is unchanged -- it's only valid during a stroke with the layer brush, gets free'd when the undo step ends. |
Commit Details:
Full Hash: 31f978c8efdfd88d2cf2b5d9ae7c5d91c81e13d3
SVN Revision: 53438
Parent Commit: ec25854
Lines Changed: +39, -15
6 Modified Paths:
/source/blender/blenkernel/BKE_pbvh.h (+8, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+21, -0) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+3, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+5, -6) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+0, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+2, -6) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+21, -0) (Diff)
/source/blender/blenkernel/intern/pbvh_intern.h (+3, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+5, -6) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+0, -3) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+2, -6) (Diff)