diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-21 13:04:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-21 13:04:40 +0400 |
commit | a35261cfee1e04bca3366e6967e046cdb00d3d44 (patch) | |
tree | 48140ceec2b21efbdaf350777e1c3c680895ea40 /source/blender | |
parent | 1a622354171ce930b3b0a8bfffe814279a4c125d (diff) |
fix [#28967] Attempting to add a new pose to the Pose Library causes Blender 2.60 RC2 to crash.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 422ee6f31dc..149497c85fb 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -2885,7 +2885,7 @@ int RNA_property_collection_type_get(PointerRNA *ptr, PropertyRNA *prop, Pointer BLI_assert(RNA_property_type(prop) == PROP_COLLECTION); *r_ptr= *ptr; - return ((r_ptr->type = prop->srna) ? 1:0); + return ((r_ptr->type = rna_ensure_property(prop)->srna) ? 1:0); } int RNA_property_collection_raw_array(PointerRNA *ptr, PropertyRNA *prop, PropertyRNA *itemprop, RawArray *array) |