diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/modifiers/intern/MOD_collision.c | 6 | ||||
m--------- | source/tools | 0 |
2 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_collision.c b/source/blender/modifiers/intern/MOD_collision.c index 371a33ebfc6..2e56da6f100 100644 --- a/source/blender/modifiers/intern/MOD_collision.c +++ b/source/blender/modifiers/intern/MOD_collision.c @@ -240,6 +240,10 @@ static void deformVerts( } } +static void updateDepsgraph(ModifierData *UNUSED(md), const ModifierUpdateDepsgraphContext *ctx) +{ + DEG_add_modifier_to_transform_relation(ctx->node, "Collision Modifier"); +} ModifierTypeInfo modifierType_Collision = { /* name */ "Collision", @@ -261,7 +265,7 @@ ModifierTypeInfo modifierType_Collision = { /* requiredDataMask */ NULL, /* freeData */ freeData, /* isDisabled */ NULL, - /* updateDepsgraph */ NULL, + /* updateDepsgraph */ updateDepsgraph, /* dependsOnTime */ dependsOnTime, /* dependsOnNormals */ NULL, /* foreachObjectLink */ NULL, diff --git a/source/tools b/source/tools -Subproject 279c373280e54388ede50abea9d11d5cdaa1d56 +Subproject d96e3148deaea3eab7b5dbddfd2bffaa61ad248 |