Bug from own testing (yeah, writing logs means finding bugs!)
The Curve widget flag 'premultiply' should be cleared on read. This could lead to an occasional crash...
This commit is contained in:
@@ -1189,6 +1189,9 @@ static void direct_link_curvemapping(FileData *fd, CurveMapping *cumap)
|
||||
{
|
||||
int a;
|
||||
|
||||
/* flag seems to be able to hang? Maybe old files... not bad to clear anyway */
|
||||
cumap->flag &= ~CUMA_PREMULLED;
|
||||
|
||||
for(a=0; a<CM_TOT; a++) {
|
||||
cumap->cm[a].curve= newdataadr(fd, cumap->cm[a].curve);
|
||||
cumap->cm[a].table= NULL;
|
||||
|
||||
Reference in New Issue
Block a user