diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-05 15:29:18 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-05 15:29:18 +0300 |
commit | 5b76f72904f83a80525cbea9cca4881358961bc0 (patch) | |
tree | c74488bc183a75df19bdf46b17674adaa9efdef1 /source/blender | |
parent | 8d179e3c1f61731f025818c1c25b8997be77f2a9 (diff) |
Mirror modifier: Fix for wrong dependency relations
Mirror modifier was reporting that it depends on geometry of the object
used for mirror center which is incorrect -- only object matrix is needed
for modifier evaluation.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/modifiers/intern/MOD_mirror.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_mirror.c b/source/blender/modifiers/intern/MOD_mirror.c index cc02d84dd8e..3e10fa1d77d 100644 --- a/source/blender/modifiers/intern/MOD_mirror.c +++ b/source/blender/modifiers/intern/MOD_mirror.c @@ -85,8 +85,7 @@ static void updateDepgraph(ModifierData *md, DagForest *forest, if (mmd->mirror_ob) { DagNode *latNode = dag_get_node(forest, mmd->mirror_ob); - dag_add_relation(forest, latNode, obNode, - DAG_RL_DATA_DATA | DAG_RL_OB_DATA, "Mirror Modifier"); + dag_add_relation(forest, latNode, obNode, DAG_RL_OB_DATA, "Mirror Modifier"); } } |