[Bf-blender-cvs] [89cd9f110b4] master: Fix T77043: Incorrect cache invalidation when changing resolution.

Richard Antalik noreply at git.blender.org
Mon Jun 1 06:28:57 CEST 2020


Commit: 89cd9f110b44f0aa9ddd61a1371617675f6f17f7
Author: Richard Antalik
Date:   Mon Jun 1 06:21:52 2020 +0200
Branches: master
https://developer.blender.org/rB89cd9f110b44f0aa9ddd61a1371617675f6f17f7

Fix T77043: Incorrect cache invalidation when changing resolution.

Invalidate cache of scene, not scene strips using said scene.

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

M	source/blender/makesrna/intern/rna_scene.c

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

diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index e3d779ce7fb..e4928fb1ada 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2203,7 +2203,7 @@ static void rna_SceneCamera_update(Main *bmain, Scene *UNUSED(scene), PointerRNA
   Scene *scene = (Scene *)ptr->owner_id;
   Object *camera = scene->camera;
 
-  BKE_sequence_invalidate_scene_strips(bmain, scene);
+  BKE_sequencer_cache_cleanup(scene);
 
   if (camera && (camera->type == OB_CAMERA)) {
     DEG_id_tag_update(&camera->id, ID_RECALC_GEOMETRY);



More information about the Bf-blender-cvs mailing list