Rigify: properly set custom property defaults and overridable flags.
commit5ae815cbc321dcc1c60224293ded7849940052a7
authorAlexander Gavrilov <angavrilov@gmail.com>
Sun, 24 Mar 2019 15:45:16 +0000 (24 18:45 +0300)
committerAlexander Gavrilov <angavrilov@gmail.com>
Sun, 24 Mar 2019 15:51:05 +0000 (24 18:51 +0300)
tree8d3cc00893cb7514684d633005c632d663d2cc2c
parent51ceed0bfbd22e8270028b593c6832505d4c49e1
Rigify: properly set custom property defaults and overridable flags.

Refactor rigs to use the new make_property utility function,
and implement new 2.8 specific settings using it.

The default value is now important for NLA evaluation, and the
override flag will be used by the upcoming static override feature.
Default can be backported to 2.79 for 2.8 forward compatibility.
20 files changed:
rigify/legacy/rigs/biped/limb_common.py
rigify/legacy/rigs/finger.py
rigify/legacy/rigs/neck_short.py
rigify/legacy/rigs/pitchipoy/limbs/arm.py
rigify/legacy/rigs/pitchipoy/limbs/leg.py
rigify/legacy/rigs/pitchipoy/limbs/paw.py
rigify/legacy/rigs/pitchipoy/limbs/super_limb.py
rigify/legacy/rigs/pitchipoy/super_face.py
rigify/legacy/rigs/pitchipoy/super_finger.py
rigify/legacy/rigs/pitchipoy/super_torso_turbo.py
rigify/legacy/rigs/pitchipoy/tentacle.py
rigify/legacy/rigs/spine.py
rigify/rigs/experimental/super_chain.py
rigify/rigs/faces/super_face.py
rigify/rigs/limbs/arm.py
rigify/rigs/limbs/leg.py
rigify/rigs/limbs/paw.py
rigify/rigs/limbs/super_finger.py
rigify/rigs/spines/super_spine.py
rigify/utils/mechanism.py