* Fix for yesterday's valgrind fix
authorMatt Ebb <matt@mke3.net>
Wed, 26 Aug 2009 06:17:39 +0000 (06:17 +0000)
committerMatt Ebb <matt@mke3.net>
Wed, 26 Aug 2009 06:17:39 +0000 (06:17 +0000)
commit163d0bb8114904686fa1227ebfd170fe0a8f5dd3
tree1dbf9e71e9eea3ffb2ac1f7a8b6a353c977830cf
parent43422354895bb620d6731f928d121ae6cd06da48
* Fix for yesterday's valgrind fix

* Fix for plane material preview render. Now, light cache aborts if there isn't enough volume, and falls back on non-cached single scattering. It still doesn't make much sense to render a plane as a volume, but for now in the preview it will shade the region in between the plane and the checker background.
source/blender/render/intern/include/volume_precache.h
source/blender/render/intern/source/volume_precache.c
source/blender/render/intern/source/volumetric.c