[Bf-blender-cvs] [f9b7f3e930b] master: Depsgraph: Don't use push-from-thread when scheduling graph
Sergey Sharybin
noreply at git.blender.org
Fri Oct 11 10:51:58 CEST 2019
Commit: f9b7f3e930bd5d8dfa7d894df8cd841a71879c0e
Author: Sergey Sharybin
Date: Thu Oct 10 11:00:14 2019 +0200
Branches: master
https://developer.blender.org/rBf9b7f3e930bd5d8dfa7d894df8cd841a71879c0e
Depsgraph: Don't use push-from-thread when scheduling graph
This isn't guaranteed that graph is scheduled from main thread,
so it is actually a miracle how it all worked.
===================================================================
M source/blender/depsgraph/intern/eval/deg_eval.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/eval/deg_eval.cc b/source/blender/depsgraph/intern/eval/deg_eval.cc
index 61dd461cfde..6b7d102c675 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval.cc
@@ -208,7 +208,7 @@ static void schedule_node(
static void schedule_graph(TaskPool *pool, Depsgraph *graph)
{
for (OperationNode *node : graph->operations) {
- schedule_node(pool, graph, node, false, 0);
+ schedule_node(pool, graph, node, false, -1);
}
}
More information about the Bf-blender-cvs
mailing list