Fix use of uninitialized value in Cycles, probably did not cause a bug.
[blender.git] / intern / cycles / render / shader.cpp
index 50400edd5cae27512e4e48361aa13801e2dc8024..44a266dfe18b97d7e93cb830007f81b67c8e8b5b 100644 (file)
@@ -190,6 +190,7 @@ Shader::Shader()
        has_volume_spatial_varying = false;
        has_object_dependency = false;
        has_integrator_dependency = false;
+       has_volume_connected = false;
 
        displacement_method = DISPLACE_BUMP;