diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-10-06 18:08:26 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-10-06 18:08:26 +0400 |
commit | cdc1e5a716c08e809b771388c6b5075d32a20c98 (patch) | |
tree | 0c9c1c40714a17fc8c4d6ff80eaeca5a1b287a7a /source/blender/freestyle/intern | |
parent | 5d95a72916839bacbc5515022944509d6580202c (diff) |
Split time measurement for temporary scene generation from that for stroke rendering.
Diffstat (limited to 'source/blender/freestyle/intern')
-rwxr-xr-x | source/blender/freestyle/intern/application/Controller.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/application/Controller.cpp b/source/blender/freestyle/intern/application/Controller.cpp index d7f91d3d7c2..e9961602f03 100755 --- a/source/blender/freestyle/intern/application/Controller.cpp +++ b/source/blender/freestyle/intern/application/Controller.cpp @@ -773,8 +773,11 @@ Render* Controller::RenderStrokes(Render *re) { _Chrono.start(); BlenderStrokeRenderer* blenderRenderer = new BlenderStrokeRenderer(re, ++_render_count); _Canvas->Render( blenderRenderer ); - Render* freestyle_render = blenderRenderer->RenderScene(re); real d = _Chrono.stop(); + cout << "Temporary scene generation: " << d << endl; + _Chrono.start(); + Render* freestyle_render = blenderRenderer->RenderScene(re); + d = _Chrono.stop(); cout << "Stroke rendering : " << d << endl; delete blenderRenderer; |