Blender Git Loki

Git Commits -> Revision 425da62

Revision 425da62 by Sergey Sharybin (master)
June 21, 2010, 20:10 (GMT)
[#22262] Sculpting shape keys using the Smooth brush switches the shape to the Basis

PBVH used the same verts array as mesh data and shape key/reference key coords
were applying on the mesh data, so on some refreshing undeformed mesh was
displayed.
Added utility functions to get vert coords from key block, apply new vert coords
on keyblock and function to apply coords on bpvh, so now pbvh uses it's ovn
vertex array and no changes are making to the mesh data.

Additional change:
Store key block name in SculptUndoNode, so now shape wouldn't be copied to
wrong keyblock on undo

Commit Details:

Full Hash: 425da6206f75b9218cf4123ac1b9cdeaf7f86bb1
SVN Revision: 29597
Parent Commit: 72d21c3
Lines Changed: +326, -57

9 Modified Paths:

/source/blender/blenkernel/BKE_key.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+12, -2) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+0, -3) (Diff)
/source/blender/blenkernel/intern/key.c (+149, -0) (Diff)
/source/blender/blenlib/BLI_pbvh.h (+6, -0) (Diff)
/source/blender/blenlib/intern/pbvh.c (+65, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+89, -49) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+0, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021