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>2018-11-16 18:11:24 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-16 18:29:46 +0300
commit33ac6c25b9942f40a33382aeb57c73482cd07b27 (patch)
treea91323be26669a6ed2aa23452e8ffd1e0e769ac8 /source/blender/depsgraph/intern/depsgraph.h
parent91aa81b61dd0df29c23ca05fc4104c0f4117e8a6 (diff)
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.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.h')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h
index bbf1f883bde..5097ae33d4c 100644
--- a/source/blender/depsgraph/intern/depsgraph.h
+++ b/source/blender/depsgraph/intern/depsgraph.h
@@ -79,6 +79,8 @@ typedef enum eDepsRelation_Flag {
/* Only flush along the relation is update comes from a node which was
* affected by user input. */
DEPSREL_FLAG_FLUSH_USER_EDIT_ONLY = (1 << 2),
+ /* The relation can not be killed by the cyclic dependencies solver. */
+ DEPSREL_FLAG_GODMODE = (1 << 3),
} eDepsRelation_Flag;
/* B depends on A (A -> B) */