Skip to content

Commit

Permalink
fix regression: film not being updated when user cancels the render
Browse files Browse the repository at this point in the history
  • Loading branch information
Theverat committed Jan 22, 2018
1 parent dbe5089 commit abbb23b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/render.py
Expand Up @@ -44,7 +44,7 @@ def refresh(engine, scene, config, draw_film, time_until_film_refresh=0):

engine.update_stats(pretty_stats, refresh_message)

if draw_film and not engine.test_break():
if draw_film:
# Show updated film (this operation is expensive)
engine._framebuffer.draw(engine, engine._session)

Expand Down

0 comments on commit abbb23b

Please sign in to comment.