Blender Git Loki
Git Commits -> Revision e968017
Revision e968017 by Campbell Barton (master) November 23, 2009, 23:17 (GMT) |
- new pyrna api functions srna & prop path_to_id(), useful when setting driver target paths. This means you can have a pose bone for eg and get the path... pose.bones["Bone"] uses rna internal functions, so will work for sequence strips etc. - StructRNA.get(), used for getting ID props without exceptions... val = C.object["someKey"] or.. val = C.object.get("someKey", "defaultValue") # wont raise an error - change rna property for testing if rna props are editable, test the flag rather then calling the function since the function depends on blenders state. - fix a python exception with the ID-Property popup UI (when editing in more then 1 step) |
Commit Details:
Full Hash: e968017951f8b38d4c33aac4225758687ba1e7d3
SVN Revision: 24842
Parent Commit: b7d717c
Lines Changed: +95, -3