Fix #35121: cycles 3D viewport render pause button not working during render.

This commit is contained in:
Brecht Van Lommel
2013-04-28 12:31:24 +00:00
parent fe6c45e36e
commit 8cd455f9b4

View File

@@ -501,6 +501,9 @@ void BlenderSession::synchronize()
bool BlenderSession::draw(int w, int h)
{
/* pause in redraw in case update is not being called due to final render */
session->set_pause(BlenderSync::get_session_pause(b_scene, background));
/* before drawing, we verify camera and viewport size changes, because
* we do not get update callbacks for those, we must detect them here */
if(session->ready_to_reset()) {