[Bf-blender-cvs] [0a2c10e4f0c] cycles_texture_cache: Cycles: Making sure render is updated when texture options change.

Stefan Werner noreply at git.blender.org
Fri May 21 15:49:01 CEST 2021


Commit: 0a2c10e4f0c76fa9e7207b8519bc4020dfd40dd7
Author: Stefan Werner
Date:   Fri May 21 15:48:21 2021 +0200
Branches: cycles_texture_cache
https://developer.blender.org/rB0a2c10e4f0c76fa9e7207b8519bc4020dfd40dd7

Cycles: Making sure render is updated when texture options change.

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

M	intern/cycles/render/scene.h

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

diff --git a/intern/cycles/render/scene.h b/intern/cycles/render/scene.h
index dbf93aff3ed..6d8d4057fa2 100644
--- a/intern/cycles/render/scene.h
+++ b/intern/cycles/render/scene.h
@@ -249,7 +249,7 @@ class SceneParams {
              use_bvh_unaligned_nodes == params.use_bvh_unaligned_nodes &&
              num_bvh_time_steps == params.num_bvh_time_steps &&
              hair_subdivisions == params.hair_subdivisions && hair_shape == params.hair_shape &&
-             texture_limit == params.texture_limit);
+             texture_limit == params.texture_limit) || texture.modified(params.texture);
   }
 
   int curve_subdivisions()



More information about the Bf-blender-cvs mailing list