Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-07-06 14:29:59 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-07-06 14:29:59 +0300
commita69e3c9ee16241068797b2852504441bfe3d5ca2 (patch)
tree6331a639372f609c49e20553ae48162a5fc8a22e /source/blender/depsgraph/DEG_depsgraph.h
parent9d71ec5f8d8c74d4ae2dbec075d193ac0958de13 (diff)
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.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r--source/blender/depsgraph/DEG_depsgraph.h2
1 files changed, 1 insertions, 1 deletions
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.