fix for resolving rna paths, RNA_path_resolve could return a property which was the...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 30 Aug 2010 09:18:21 +0000 (09:18 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 30 Aug 2010 09:18:21 +0000 (09:18 +0000)
commit92f6dd73b339d99d2c47afe46b1ca1b817626bf7
treef1f88faa02f162c4bfca45b180e7fbd6345f1ab8
parente5b1e646e6afcd89999cb36cb0892e068324a6c2
fix for resolving rna paths, RNA_path_resolve could return a property which was the parent of the pointer (when it would normally be assumed to be the child).

also change pythons struct_rna.path_resolve to return StructRNA's or Properties when the property isnt NULL.
source/blender/makesrna/intern/rna_access.c
source/blender/python/intern/bpy_rna.c