diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-17 23:46:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-17 23:46:59 +0300 |
commit | 2ae15e39ad01768ce0d54aeb106a9cfa5162efa3 (patch) | |
tree | e170c43676686589756ef2e34f0e45065ce25261 /release/scripts/modules/rna_prop_ui.py | |
parent | c07dde45a2fc67c787088e1fa95645722fe332ba (diff) |
make animation system and rna internals use getattr style syntax for user defined properties
bone["foo"] rather then bone.foo
matches python and avoids naming collisions
Diffstat (limited to 'release/scripts/modules/rna_prop_ui.py')
-rw-r--r-- | release/scripts/modules/rna_prop_ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py index 053a72df9b5..461ce929593 100644 --- a/release/scripts/modules/rna_prop_ui.py +++ b/release/scripts/modules/rna_prop_ui.py @@ -100,7 +100,7 @@ def draw(layout, context, context_member): if convert_to_pyobject and not hasattr(val_orig, "len"): row.itemL(text=val_draw) else: - row.itemR(rna_item, key, text="") + row.itemR(rna_item, '["' + key + '"]', text="") row = split.row(align=True) |