diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-11-10 12:13:13 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-11-10 12:13:13 +0400 |
commit | c9cd4d61ba4ed9ac8285ec991d14964c3e98dd3c (patch) | |
tree | 9fc05dd84451a4746773b9f9705272c96914202e /intern/cycles | |
parent | 936f0388e843ba3a261b364d633eb3bdd5b3ca99 (diff) |
Fix #33132: Incorrect render session update when using persistent images issue and changing resolution
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/blender/blender_session.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_session.cpp b/intern/cycles/blender/blender_session.cpp index fcc3d89f5d8..ad43c39469c 100644 --- a/intern/cycles/blender/blender_session.cpp +++ b/intern/cycles/blender/blender_session.cpp @@ -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)) { |