Fix T59785: Curve modifier does not update in realtime in object mode
Reviewers: brecht Maniphest Tasks: T59785 Differential Revision: https://developer.blender.org/D4134
This commit is contained in:
parent
8c01cafabf
commit
c509507714
Notes:
blender-bot
2023-02-14 04:20:36 +01:00
Referenced by issue #59785, Curve modifier does not update in realtime in object mode
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue