Fix #33132: Incorrect render session update when using persistent images issue and changing resolution

This commit is contained in:
Sergey Sharybin
2012-11-10 08:13:13 +00:00
parent 936f0388e8
commit c9cd4d61ba

View File

@@ -117,6 +117,9 @@ void BlenderSession::reset_session(BL::BlendData b_data_, BL::Scene b_scene_)
SceneParams scene_params = BlenderSync::get_scene_params(b_scene, background);
SessionParams session_params = BlenderSync::get_session_params(b_engine, b_userpref, b_scene, background);
width = b_engine.resolution_x();
height = b_engine.resolution_y();
if(scene->params.modified(scene_params) ||
session->params.modified(session_params))
{