Fix Cycles unnecessary updates to camera in viewport render
Problem identified by Milan Jaros.
This commit is contained in:
@@ -1003,7 +1003,7 @@ bool Session::update_scene()
|
||||
int height = tile_manager.state.buffer.full_height;
|
||||
int resolution = tile_manager.state.resolution_divider;
|
||||
|
||||
if (width != cam->width || height != cam->height) {
|
||||
if (width != cam->width || height != cam->height || resolution != cam->resolution) {
|
||||
cam->width = width;
|
||||
cam->height = height;
|
||||
cam->resolution = resolution;
|
||||
|
||||
Reference in New Issue
Block a user