Blender Git Loki
Git Commits -> Revision 89320c9
Revision 89320c9 by Brecht Van Lommel (master) June 2, 2010, 18:04 (GMT) |
Sculpt & modifiers: patch by Sergey Sharybin, with modifications by me. Fixes various crashes and redraw problems, most noticeable new feature is that you can now sculpt on a multires mesh with deforming modifiers preceding it. I've left out support for sculpting on multires with enabled modifiers following it, in this case only the base mesh can be sculpted now. The code changes needed to do this are just too ugly in my opinion, would need a more torough redesign which I don't think we should try now. In my opinion this is also not really an important case, since it's going to be incredibly slow anyway to run a modifier on a high res mesh while sculpting. So, to summarize current state: * Fastest sculpting: base mesh with no modifiers or multires with only modifiers preceding it. * Slower sculpting: base mesh with modifiers, depends on the speed of the modifiers. * Not supported: multires mesh with modifiers following it. |
Commit Details:
Full Hash: 89320c911eef0968f2c9c642da14a48f6a1bd5ae
SVN Revision: 29164
Parent Commit: 9cbbc9d
Lines Changed: +108, -30
10 Modified Paths:
/source/blender/blenkernel/BKE_subsurf.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+10, -4) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+0, -4) (Diff)
/source/blender/blenkernel/intern/multires.c (+6, -2) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+42, -4) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+2, -0) (Diff)
/source/blender/blenlib/intern/pbvh.c (+7, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+33, -13) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+6, -2) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+10, -4) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+0, -4) (Diff)
/source/blender/blenkernel/intern/multires.c (+6, -2) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+42, -4) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+2, -0) (Diff)
/source/blender/blenlib/intern/pbvh.c (+7, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+33, -13) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+6, -2) (Diff)