svn merge -r 16592:16667 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender-staging.git] / source / blender / render / intern / source / convertblender.c
index 2baa4d274489b549d68707b4a120eea75ace8229..a752561218ca24fff517b989a2b97bf8c65fa1a4 100644 (file)
@@ -941,6 +941,8 @@ static Material *give_render_material(Render *re, Object *ob, int nr)
        if(ma->nodetree && ma->use_nodes)
                flag_render_node_material(re, ma->nodetree);
        
+       if (ma->material_type == MA_VOLUME) re->r.mode |= R_RAYTRACE;
+       
        return ma;
 }