Fix #34205: Zooming in rendered mode during update out of sync with intended zoom

Yes, again.

There's some t within which reset is not allowed. This is so no reset happens
too often for performance issues. If camera changes too often, some reset could
be missed because of this timeout.

For now tag engine for update, which will update viewport from blender side.

Proper solution could be to detect such a changes from blender side and tag
cycles for refresh instead of trying to detect changes form cycles, but that's
for later.
This commit is contained in:
Sergey Sharybin
2013-02-15 09:15:14 +00:00
parent 313df262e3
commit bd1c6571c9

View File

@@ -520,6 +520,9 @@ bool BlenderSession::draw(int w, int h)
session->reset(buffer_params, session_params.samples); session->reset(buffer_params, session_params.samples);
} }
} }
else {
tag_update();
}
/* update status and progress for 3d view draw */ /* update status and progress for 3d view draw */
update_status_progress(); update_status_progress();