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:
authorPhilipp Oeser <info@graphics-engineer.com>2018-12-28 16:03:01 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2018-12-28 18:26:40 +0300
commitc5095077148549b16d9eb72d56faa0427d51828e (patch)
tree4baff1fdd964edbf0165e268a029a0550bad9b8e /source/blender/modifiers/intern/MOD_curve.c
parent8c01cafabfa7d18c39d935ef87eebb6b427dba94 (diff)
Fix T59785: Curve modifier does not update in realtime in object mode
Reviewers: brecht Maniphest Tasks: T59785 Differential Revision: https://developer.blender.org/D4134
Diffstat (limited to 'source/blender/modifiers/intern/MOD_curve.c')
-rw-r--r--source/blender/modifiers/intern/MOD_curve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_curve.c b/source/blender/modifiers/intern/MOD_curve.c
index 42dd8ebb32b..fc33880e922 100644
--- a/source/blender/modifiers/intern/MOD_curve.c
+++ b/source/blender/modifiers/intern/MOD_curve.c
@@ -98,6 +98,7 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte
/* TODO(sergey): Currently path is evaluated as a part of modifier stack,
* might be changed in the future.
*/
+ DEG_add_object_relation(ctx->node, cmd->object, DEG_OB_COMP_TRANSFORM, "Curve Modifier");
DEG_add_object_relation(ctx->node, cmd->object, DEG_OB_COMP_GEOMETRY, "Curve Modifier");
DEG_add_special_eval_flag(ctx->node, &cmd->object->id, DAG_EVAL_NEED_CURVE_PATH);
}