Fix T51652: Cycles - Persistant Images not storing images
authorLukas Stockner <lukas.stockner@freenet.de>
Tue, 30 May 2017 04:34:53 +0000 (06:34 +0200)
committerLukas Stockner <lukas.stockner@freenet.de>
Tue, 30 May 2017 04:34:53 +0000 (06:34 +0200)
Denoising was setting session parameters for every frame, which was detected as
a change and therefore caused a resync.

Since the parameter modification change is only needed for viewport rendering
(which doesn't support denoising anyways) and resyncing after a frame change
(which isn't affected by denoising settings), an easy fix is to just ignore
the denoising parameters like it's currently done with the samples.

intern/cycles/render/session.h

index 5fb1a365ee92210f78723d90b0bb3e77aa1c5103..9f8bb8c42fa9280914b31b5d45d45c30d6f92672 100644 (file)
@@ -111,11 +111,6 @@ public:
                && tile_size == params.tile_size
                && start_resolution == params.start_resolution
                && threads == params.threads
-               && use_denoising == params.use_denoising
-               && denoising_radius == params.denoising_radius
-               && denoising_strength == params.denoising_strength
-               && denoising_feature_strength == params.denoising_feature_strength
-               && denoising_relative_pca == params.denoising_relative_pca
                && display_buffer_linear == params.display_buffer_linear
                && cancel_timeout == params.cancel_timeout
                && reset_timeout == params.reset_timeout