diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-04 20:01:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-04 20:01:33 +0300 |
commit | 9d5c6bbe3dd5ebb7de05db482940b3e7207e8cd4 (patch) | |
tree | 786dc500b2a6681ebec52cd141bda1ecb706f375 /source/blender/render | |
parent | 7006038b02c797a5e485518b8137ea2738290528 (diff) |
quiet warnings and fix building without python.
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/rayshade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/rayshade.c b/source/blender/render/intern/source/rayshade.c index cc1d0e1cec7..6f639de70d5 100644 --- a/source/blender/render/intern/source/rayshade.c +++ b/source/blender/render/intern/source/rayshade.c @@ -2347,7 +2347,7 @@ static void ray_shadow_qmc(ShadeInput *shi, LampRen *lar, float *lampco, float * samples++; - if ((lar->ray_samp_method == LA_SAMP_HALTON)) { + if (lar->ray_samp_method == LA_SAMP_HALTON) { /* adaptive sampling - consider samples below threshold as in shadow (or vice versa) and exit early */ if ((max_samples > min_adapt_samples) && (adapt_thresh > 0.0) && (samples > max_samples / 3)) { |