Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-02-27 23:10:05 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-02-27 23:10:05 +0300
commit7a83e67a464faa65816367bb8f897faf032c0a1f (patch)
treeba42ccfc0dc5f75a73dad4f96f0d277b44aeff85 /source/blender/render/intern
parent35f094f20987d000357d88d99738a5e429b63dcb (diff)
Fix for bug #8373: using SSS the rendertime could be reported wrong.
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r--source/blender/render/intern/source/pipeline.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index 9b039dcb6ed..14917d6f7fd 100644
--- a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -1593,14 +1593,16 @@ void RE_TileProcessor(Render *re, int firsttile, int threaded)
re->i.partsdone= firsttile;
- re->i.starttime= PIL_check_seconds_timer();
+ if(!re->sss_points)
+ re->i.starttime= PIL_check_seconds_timer();
if(threaded)
threaded_tile_processor(re);
else
render_tile_processor(re, firsttile);
- re->i.lastframetime= PIL_check_seconds_timer()- re->i.starttime;
+ if(!re->sss_points)
+ re->i.lastframetime= PIL_check_seconds_timer()- re->i.starttime;
re->stats_draw(&re->i);
}