diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-24 03:02:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-24 03:02:21 +0300 |
commit | 727d9bb05900f7d40ca7ee8cfe78b913c475c0d8 (patch) | |
tree | 80201049aa4c1efd6f8885da3349e2e57c29fb3a /release/scripts/modules/rna_prop_ui.py | |
parent | e968017951f8b38d4c33aac4225758687ba1e7d3 (diff) |
rig-generation from metadata, the idea is to input a simple rig with metadata matching preset definitions
these are applied by adding constraints, drivers, control bones etc. making it possible to re-apply changes & improvements to many rigs at once.
testcase makes a finger rig (like in BBB) from 3 bones, the base tagged with an id property "type":"finger".
still missing is a way to update the driver dep's
also fixed an error in the property UI when the active bone is not on the active layer.
Diffstat (limited to 'release/scripts/modules/rna_prop_ui.py')
-rw-r--r-- | release/scripts/modules/rna_prop_ui.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py index 3c12d4304d1..d19449f9404 100644 --- a/release/scripts/modules/rna_prop_ui.py +++ b/release/scripts/modules/rna_prop_ui.py @@ -69,6 +69,10 @@ def draw(layout, context, context_member, use_edit = True): pass rna_item = eval("context." + context_member) + + # poll should really get this... + if not rna_item: + return items = rna_item.items() items.sort() |