Implemented multisampling for texture nodes.
[blender-staging.git] / source / blender / nodes / intern / TEX_util.c
index b88efb47990de98b64a75fee1e7a3e090e2645a0..36182d2498dff74d3096cb0d45d1fe9ca4d336a7 100644 (file)
@@ -149,7 +149,7 @@ void tex_do_preview(bNode *node, bNodeStack *ns, TexCallData *cdata)
        
        params.dxt = 0;
        params.dyt = 0;
        
        params.dxt = 0;
        params.dyt = 0;
-       params.cfra = 0; /* XXX Use current? */
+       params.cfra = cdata->cfra;
        params.coord = coord;
        
        for(x=0; x<preview->xsize; x++)
        params.coord = coord;
        
        for(x=0; x<preview->xsize; x++)