diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-15 23:59:26 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-15 23:59:26 +0300 |
commit | bc7aeb7062214389386f661e84cc4923b04ef81f (patch) | |
tree | 30ad4db10b11290668ba7c56dd88b0a647de4f6b /source | |
parent | b194059b7f41fded2451590f3b74eb602c5adae1 (diff) |
Bugfix: radiosity was slower due to return lost in code refactor.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/radiosity/intern/source/radrender.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/radiosity/intern/source/radrender.c b/source/blender/radiosity/intern/source/radrender.c index aca5a0885f4..88c5e2197f9 100644 --- a/source/blender/radiosity/intern/source/radrender.c +++ b/source/blender/radiosity/intern/source/radrender.c @@ -121,6 +121,7 @@ static void findshoot_rr(Render *re, VlakRen **shoot_p, RadFace **shootrf_p) if(maxenergy<RG.convergence) { *shoot_p= NULL; *shootrf_p= NULL; + return; } shootrf->flag |= RAD_SHOOT; } |