From 33ac6c25b9942f40a33382aeb57c73482cd07b27 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 16 Nov 2018 16:11:24 +0100 Subject: Fix T56673: Tara.blend from Blender cloud crashes on load The issue was caused by dependency cycle solver killing relation which was guaranteed various things: i.e. copy-on-write component orders and pose evaluation order (which must first run pose init function). Now it is possible to prevent such relations from being ignored. This is not a complete fix, but is enough to make this specific rig to work. Ideally, we also need to run copy-on-write operation prior to anything else. --- .../depsgraph/intern/debug/deg_debug_relations_graphviz.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc') diff --git a/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc b/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc index 8197fa116e6..ec1ea1e02b2 100644 --- a/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc +++ b/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc @@ -254,10 +254,14 @@ static void deg_debug_graphviz_relation_color(const DebugContext &ctx, const DepsRelation *rel) { const char *color_default = "black"; - const char *color_error = "red4"; + const char *color_cyclic = "red4"; /* The color of crime scene. */ + const char *color_godmode = "blue4"; /* The color of beautiful sky. */ const char *color = color_default; if (rel->flag & DEPSREL_FLAG_CYCLIC) { - color = color_error; + color = color_cyclic; + } + else if (rel->flag & DEPSREL_FLAG_GODMODE) { + color = color_godmode; } deg_debug_fprintf(ctx, "%s", color); } -- cgit v1.2.3