forked from bartvdbraak/blender
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:
parent
4172997675
commit
7afbdff1b6
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user