[Bf-blender-cvs] [9b914764a9f] master: Fix T51652: Cycles - Persistant Images not storing images

Lukas Stockner noreply at git.blender.org
Tue May 30 07:28:27 CEST 2017


Commit: 9b914764a9f9b9c02986448876af85aa6e687516
Author: Lukas Stockner
Date:   Tue May 30 06:34:53 2017 +0200
Branches: master
https://developer.blender.org/rB9b914764a9f9b9c02986448876af85aa6e687516

Fix T51652: Cycles - Persistant Images not storing images

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.

===================================================================

M	intern/cycles/render/session.h

===================================================================

diff --git a/intern/cycles/render/session.h b/intern/cycles/render/session.h
index 5fb1a365ee9..9f8bb8c42fa 100644
--- a/intern/cycles/render/session.h
+++ b/intern/cycles/render/session.h
@@ -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




More information about the Bf-blender-cvs mailing list