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
This commit is contained in:
Campbell Barton
2009-11-17 20:46:59 +00:00
parent c07dde45a2
commit 2ae15e39ad
3 changed files with 77 additions and 19 deletions

View File

@@ -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)