diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2015-01-17 16:33:13 +0300 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2015-01-17 18:39:03 +0300 |
commit | c9e5d9226b8c89f0081f8191f868c23e595b0c3f (patch) | |
tree | 52ac59048c9f21e9fcee967b9e9ea29b3e888f90 /source/blender/freestyle/intern/application | |
parent | 448d143ad0e73a9d2c86f84def2b9f89b8332470 (diff) |
Fix T43090: Cycles + Freestyle + border render = black render.
The reported problem was due to a special case where there are no strokes
to be rendered. Since rendering an empty scene is a waste of time, the issue
was addressed here by skipping the stroke rendering process entirely.
Diffstat (limited to 'source/blender/freestyle/intern/application')
-rw-r--r-- | source/blender/freestyle/intern/application/Controller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/application/Controller.cpp b/source/blender/freestyle/intern/application/Controller.cpp index f8931d32f56..682183ef6ff 100644 --- a/source/blender/freestyle/intern/application/Controller.cpp +++ b/source/blender/freestyle/intern/application/Controller.cpp @@ -869,7 +869,7 @@ void Controller::DrawStrokes() real d = _Chrono.stop(); if (G.debug & G_DEBUG_FREESTYLE) { cout << "Strokes generation : " << d << endl; - cout << "Stroke count : " << _Canvas->stroke_count << endl; + cout << "Stroke count : " << _Canvas->getStrokeCount() << endl; } resetModified(); DeleteViewMap(); |