diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-18 20:20:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-18 20:20:30 +0400 |
commit | 54bab21ca0abb63b71bc47ce092ffcdd192b70e0 (patch) | |
tree | 9473a8662307d980852adba4d64f1146acb78d24 /source/blender/makesrna/RNA_access.h | |
parent | ae15de68168be2be88021eb3e99d7e768eaed34b (diff) |
use 'bpy.context' when printing properties in the info window.
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r-- | source/blender/makesrna/RNA_access.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index 539c8a19621..5f4e4ce4259 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -867,6 +867,8 @@ char *RNA_path_from_ID_to_property(PointerRNA *ptr, PropertyRNA *prop); char *RNA_path_full_ID_py(struct ID *id); char *RNA_path_full_struct_py(struct PointerRNA *ptr); char *RNA_path_full_property_py(struct PointerRNA *ptr, struct PropertyRNA *prop, int index); +char *RNA_path_struct_property_py(struct PointerRNA *ptr, struct PropertyRNA *prop, int index); +char *RNA_path_property_py(struct PointerRNA *ptr, struct PropertyRNA *prop, int index); /* Quick name based property access * |