Blender Git Loki

Git Commits -> Revision ce49719

Revision ce49719 by Campbell Barton (master)
December 7, 2009, 20:49 (GMT)
use the SUM driver type to avoid adding all values on each bone.

also avoids hitting the 255 string limit if you want to add 100's of values. eg.
>>> b05/max(0.001, [globals().update({"LOCALS":locals(), "ADD":float.__add__, "reduce":__import__("functools").reduce}), 0.0][1], max((, [LOCALS["b%.2d" % (i+1)] for i in range(5)])))

Since this more simple expression reaches the limit fairly quick...
>>> b05/max(0.001,b01+b02+b03+b04+b05)

Commit Details:

Full Hash: ce49719a0c9baf75576929f956e1224fcd46afc7
SVN Revision: 25189
Parent Commit: f350cde
Lines Changed: +65, -28

2 Modified Paths:

/release/scripts/modules/rigify/neck.py (+28, -10) (Diff)
/release/scripts/modules/rigify/spine.py (+37, -18) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021