diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-11-25 12:25:58 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-11-25 12:25:58 +0300 |
commit | 802779eb2d266f6a1de717fe9e7dcadc9774a7d3 (patch) | |
tree | db1ebf873356493808fe52ba6a9c91a01b8e36aa /source/blender/python | |
parent | ce4b63aa3f4f892703e6223a2546e067b446a98c (diff) |
Assorted fixes - compile + drivers:
* Fixed a few compile warnings for scons+mingw
* Driver variables are now added with the ID-type set to ID_OB (objects) by default since this is more convenient
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index 1693268a19c..56981e0fe0a 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -1473,7 +1473,7 @@ static PyObject *pyrna_struct_path_to_id(BPy_StructRNA *self, PyObject *args) static PyObject *pyrna_prop_path_to_id(BPy_PropertyRNA *self) { char *path; - PropertyRNA *prop; + PropertyRNA *prop = self->prop; PyObject *ret; path= RNA_path_from_ID_to_property(&self->ptr, self->prop); |