[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41175] trunk/blender/source/blender/ makesrna/intern/rna_access.c: fix [#28967] Attempting to add a new pose to the Pose Library causes Blender 2. 60 RC2 to crash.
Campbell Barton
ideasman42 at gmail.com
Fri Oct 21 11:04:40 CEST 2011
Revision: 41175
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41175
Author: campbellbarton
Date: 2011-10-21 09:04:40 +0000 (Fri, 21 Oct 2011)
Log Message:
-----------
fix [#28967] Attempting to add a new pose to the Pose Library causes Blender 2.60 RC2 to crash.
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_access.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_access.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_access.c 2011-10-21 08:31:28 UTC (rev 41174)
+++ trunk/blender/source/blender/makesrna/intern/rna_access.c 2011-10-21 09:04:40 UTC (rev 41175)
@@ -2885,7 +2885,7 @@
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)
More information about the Bf-blender-cvs
mailing list