Blender Git Loki
Git Commits -> Revision 3f5bfbb
Revision 3f5bfbb by Grigory Revzin (soc-2014-shapekey) May 15, 2014, 23:42 (GMT) |
Initial rough support for Scratch Shapekey Scratch shape key types added to Key DNA. Modifications to file reading/writing are done to save the Scratch's data. Auto-commit property is added to the Scene's tool_settings. Versioning code to set it to 1 by default is added. EditMesh kernel module now has a hashing function to determine if the mesh's topology has been changed. editmesh_utils.c now has features to work with both the scratch shape key, supporting scratch-based shape key recalculations, and sped-up shapekey recalculation in case the Mesh didn't change topology. This is draft rough buggy code yet. UI: added Auto-Commit under the Shape Keys panel, removed Apply Shape keys in Edit Mode - won't be needed later. Next to do: check undo support. |
Commit Details:
Full Hash: 3f5bfbbae558bb836fb14ae613c1ef08faaef185
Parent Commit: e9c28dd
Lines Changed: +558, -59
16 Modified Paths:
/release/scripts/startup/bl_ui/properties_data_mesh.py (+5, -4) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_key.h (+26, -6) (Diff)
/source/blender/blenkernel/intern/key.c (+227, -2) (Diff)
/source/blender/blenlib/BLI_listbase.h (+9, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+4, -1) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+11, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -1) (Diff)
/source/blender/editors/include/ED_mesh.h (+11, -0) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+237, -1) (Diff)
/source/blender/editors/object/object_edit.c (+3, -32) (Diff)
/source/blender/editors/object/object_shapekey.c (+3, -0) (Diff)
/source/blender/makesdna/DNA_key_types.h (+1, -3) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+9, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+1, -4) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+8, -0) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_key.h (+26, -6) (Diff)
/source/blender/blenkernel/intern/key.c (+227, -2) (Diff)
/source/blender/blenlib/BLI_listbase.h (+9, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+4, -1) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+11, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -1) (Diff)
/source/blender/editors/include/ED_mesh.h (+11, -0) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+237, -1) (Diff)
/source/blender/editors/object/object_edit.c (+3, -32) (Diff)
/source/blender/editors/object/object_shapekey.c (+3, -0) (Diff)
/source/blender/makesdna/DNA_key_types.h (+1, -3) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+9, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+1, -4) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+8, -0) (Diff)