Hopefully a working merge with trunk (could be one error left in raytrace.c - will...
[blender.git] / source / blender / render / intern / source / renderdatabase.c
index 621831fb34111883f64f8423e43c9d9afbfdbedb..484857fbbbcdbf7a5aafb32f0652e39e7af14413 100644 (file)
@@ -1325,6 +1325,7 @@ ObjectInstanceRen *RE_addRenderInstance(Render *re, ObjectRen *obr, Object *ob,
        obi->index= index;
        obi->psysindex= psysindex;
        obi->lay= lay;
+       obi->volume_precache = NULL;
 
        if(mat) {
                Mat4CpyMat4(obi->mat, mat);