fix for crash on loading some files with composite nodes.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 23 Mar 2010 16:16:32 +0000 (16:16 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 23 Mar 2010 16:16:32 +0000 (16:16 +0000)
(commit 27689 by Campbell from render25 branch)

source/blender/blenloader/intern/readfile.c

index b5414ae665dedf165e2da3cee0cb608e630346f1..b28610fe6a23ff0b4604864d5af850b608c6fcea 100644 (file)
@@ -1516,6 +1516,7 @@ static void direct_link_curvemapping(FileData *fd, CurveMapping *cumap)
        for(a=0; a<CM_TOT; a++) {
                cumap->cm[a].curve= newdataadr(fd, cumap->cm[a].curve);
                cumap->cm[a].table= NULL;
+               cumap->cm[a].premultable= NULL;
        }
 }