[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50830] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/python/BPy_Freestyle.cpp: Fix for a crash due to the changes in the trunk revision 50087 for thread safety in curve evaluation .
Tamito Kajiyama
rd6t-kjym at asahi-net.or.jp
Sun Sep 23 17:05:29 CEST 2012
Revision: 50830
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50830
Author: kjym3
Date: 2012-09-23 15:05:29 +0000 (Sun, 23 Sep 2012)
Log Message:
-----------
Fix for a crash due to the changes in the trunk revision 50087 for thread safety in curve evaluation.
Problem report from Vicente Carro with an example .blend file for reproducing the issue. Thanks!
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50087
Modified Paths:
--------------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Freestyle.cpp
Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Freestyle.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Freestyle.cpp 2012-09-23 14:47:48 UTC (rev 50829)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/python/BPy_Freestyle.cpp 2012-09-23 15:05:29 UTC (rev 50830)
@@ -208,6 +208,7 @@
return NULL;
}
cumap = (CurveMapping *)py_srna->ptr.data;
+ curvemapping_initialize(cumap);
/* disable extrapolation if enabled */
if ((cumap->cm[cur].flag & CUMA_EXTEND_EXTRAPOLATE)) {
cumap->cm[cur].flag &= ~( CUMA_EXTEND_EXTRAPOLATE );
More information about the Bf-blender-cvs
mailing list