From a69e3c9ee16241068797b2852504441bfe3d5ca2 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 6 Jul 2017 13:29:59 +0200 Subject: Fix T51943: Depsgraph: world update happening eternally on background (set) scene The issue was caused by updates being flushed for all scenes, while actual update was only called for an active one. Not sure why do we need to flush updates for all scenes, so now we only flush scenes which are updated. --- source/blender/depsgraph/DEG_depsgraph.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/depsgraph/DEG_depsgraph.h') diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index 9caf7635ccf..9347a29b14a 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -182,7 +182,7 @@ void DEG_ids_clear_recalc(struct Main *bmain); /* Update Flushing ------------------------------- */ /* Flush updates for all IDs */ -void DEG_ids_flush_tagged(struct Main *bmain); +void DEG_ids_flush_tagged(struct Main *bmain, struct Scene *scene); /* Check if something was changed in the database and inform * editors about this. -- cgit v1.2.3