fix for bug where that caused vector blur to crash but could also cause problems...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 22 Jan 2008 22:01:49 +0000 (22:01 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 22 Jan 2008 22:01:49 +0000 (22:01 +0000)
source/blender/render/intern/source/rayshade.c

index e67cf6de6a1e3f7d022a499e9935d83061bc785a..b7541bcbd740744281d30553398ce4aadbd7f913 100644 (file)
@@ -878,11 +878,13 @@ void init_render_hammersley(Render *re)
 void free_lamp_qmcsampler(LampRen *lar)
 {
        QMC_freeSampler(lar->qsa);
+       lar->qsa = NULL;
 }
 
 void free_render_qmcsampler(Render *re)
 {
        QMC_freeSampler(re->qsa);
+       re->qsa = NULL;
 }
 
 static int adaptive_sample_variance(int samples, float *col, float *colsq, float thresh)