Blender Git Loki
Git Commits -> Revision 43d2904
Revision 43d2904 by Ton Roosendaal (master) September 26, 2005, 15:34 (GMT) |
Cleanup and new features for vertex keys. User doc: http://www.blender3d.org/cms/Shape_Keys.678.0.html - The mixed use of "Vertex Key","Key" or "RVK" in Blender was a bit confusing. Also a 'vertex key' assumes keys per vertex, which actually is only a single key for the entire shape. The discussions on blender.org forums all mentioned "Shape" or "Blend Shapes", which I think is an OK name for a "Vertex Key" in the UI. :) - Most work was code spaghetti cleanup. Doing shape-keys now nicely goes via the depgraph and DerivedMesh. That then allows to have different shapes per object, with the new "Pin" feature. Objects now define what Shape is shown (ob->shapenr) - Added a Shape Panel in the Edit buttons with the various options - Fixed a lot of issues in the IpoWindow, with drawing the channels. For example, deleting a key-line there caused the entire Relative option to go wrong, same for moving the lines up/down. Changing key-line order now reflects in order of channels. The active Shape is drawn more clear now too. - Noticed it doesnt work yet for curves/lattice. Need modifier advise! |
Commit Details:
Full Hash: 43d290403704a0b953949ac2ca82c251feee0133
SVN Revision: 5355
Parent Commit: 9656e8b
Lines Changed: +2103, -2030
32 Modified Paths:
/source/blender/blenkernel/BKE_ipo.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_key.h (+6, -8) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+26, -6) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/displist.c (+5, -2) (Diff)
/source/blender/blenkernel/intern/ipo.c (+11, -0) (Diff)
/source/blender/blenkernel/intern/key.c (+102, -84) (Diff)
/source/blender/blenkernel/intern/lattice.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+6, -6) (Diff)
/source/blender/blenloader/intern/readfile.c (+24, -0) (Diff)
/source/blender/include/BIF_editkey.h (+10, -8) (Diff)
/source/blender/include/BIF_resources.h (+4, -4) (Diff)
/source/blender/include/BSE_editipo.h (+1, -1) (Diff)
/source/blender/include/butspace.h (+9, -2) (Diff)
/source/blender/makesdna/DNA_key_types.h (+3, -3) (Diff)
/source/blender/makesdna/DNA_object_types.h (+8, -3) (Diff)
/source/blender/python/api2_2x/Lattice.c (+2, -2) (Diff)
/source/blender/src/blenderbuttons.c (+1455, -1452) (Diff)
/source/blender/src/buttons_editing.c (+131, -18) (Diff)
/source/blender/src/drawaction.c (+2, -3) (Diff)
/source/blender/src/drawipo.c (+41, -27) (Diff)
/source/blender/src/drawobject.c (+7, -2) (Diff)
/source/blender/src/editaction.c (+4, -2) (Diff)
/source/blender/src/editcurve.c (+2, -2) (Diff)
/source/blender/src/editipo.c (+63, -75) (Diff)
/source/blender/src/editkey.c (+138, -279) (Diff)
/source/blender/src/editlattice.c (+9, -9) (Diff)
/source/blender/src/editmesh.c (+2, -2) (Diff)
/source/blender/src/header_ipo.c (+16, -20) (Diff)
/source/blender/src/outliner.c (+2, -2) (Diff)
/source/blender/src/space.c (+1, -4) (Diff)
/source/blender/src/transform_conversions.c (+6, -0) (Diff)
/source/blender/blenkernel/BKE_key.h (+6, -8) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+26, -6) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/displist.c (+5, -2) (Diff)
/source/blender/blenkernel/intern/ipo.c (+11, -0) (Diff)
/source/blender/blenkernel/intern/key.c (+102, -84) (Diff)
/source/blender/blenkernel/intern/lattice.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+6, -6) (Diff)
/source/blender/blenloader/intern/readfile.c (+24, -0) (Diff)
/source/blender/include/BIF_editkey.h (+10, -8) (Diff)
/source/blender/include/BIF_resources.h (+4, -4) (Diff)
/source/blender/include/BSE_editipo.h (+1, -1) (Diff)
/source/blender/include/butspace.h (+9, -2) (Diff)
/source/blender/makesdna/DNA_key_types.h (+3, -3) (Diff)
/source/blender/makesdna/DNA_object_types.h (+8, -3) (Diff)
/source/blender/python/api2_2x/Lattice.c (+2, -2) (Diff)
/source/blender/src/blenderbuttons.c (+1455, -1452) (Diff)
/source/blender/src/buttons_editing.c (+131, -18) (Diff)
/source/blender/src/drawaction.c (+2, -3) (Diff)
/source/blender/src/drawipo.c (+41, -27) (Diff)
/source/blender/src/drawobject.c (+7, -2) (Diff)
/source/blender/src/editaction.c (+4, -2) (Diff)
/source/blender/src/editcurve.c (+2, -2) (Diff)
/source/blender/src/editipo.c (+63, -75) (Diff)
/source/blender/src/editkey.c (+138, -279) (Diff)
/source/blender/src/editlattice.c (+9, -9) (Diff)
/source/blender/src/editmesh.c (+2, -2) (Diff)
/source/blender/src/header_ipo.c (+16, -20) (Diff)
/source/blender/src/outliner.c (+2, -2) (Diff)
/source/blender/src/space.c (+1, -4) (Diff)
/source/blender/src/transform_conversions.c (+6, -0) (Diff)