Blender Git Loki

Git Commits -> Revision 00ff9da

Revision 00ff9da by Bastien Montagne (master)
October 21, 2014, 10:07 (GMT)
ShapeKeys: rework 'move skey' code, and add options to move to first/last position.

Main moving logic is moved to new `BKE_keyblock_move()`, which makes it available from anywhere.
In addition, move code was reworked so that it only loops once on whole keyblocks list,
and it accepts arbitrary org and dest indices, not only neighbor ones.

Partly based on work by revzin (Grigory Revzin) in his soc-2014-shapekey GSoC branch, thanks!

Commit Details:

Full Hash: 00ff9da2eecd7a0edeca60c03e1b5e7ddabf2226
Parent Commit: be4b2e4
Lines Changed: +138, -78

4 Modified Paths:

/release/scripts/startup/bl_ui/properties_data_mesh.py (+2, -0) (Diff)
/source/blender/blenkernel/BKE_key.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/key.c (+88, -0) (Diff)
/source/blender/editors/object/object_shapekey.c (+44, -78) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021