Commit: c5095077148549b16d9eb72d56faa0427d51828e Author: Philipp Oeser Date: Fri Dec 28 14:03:01 2018 +0100 Branches: master https://developer.blender.org/rBc5095077148549b16d9eb72d56faa0427d51828e
Fix T59785: Curve modifier does not update in realtime in object mode Reviewers: brecht Maniphest Tasks: T59785 Differential Revision: https://developer.blender.org/D4134 =================================================================== M source/blender/modifiers/intern/MOD_curve.c =================================================================== 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); } _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
