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!
This commit is contained in:
@@ -208,6 +208,7 @@ static PyObject *Freestyle_evaluateCurveMappingF( PyObject *self, PyObject *args
|
||||
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 );
|
||||
|
||||
Reference in New Issue
Block a user