diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-25 17:35:11 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-25 17:35:11 +0300 |
commit | 75e0767849c1f130be5a023babebbc6aefa4fae3 (patch) | |
tree | a2bcf3e84e0c2addca30e54e9861c26fb5644dad /source | |
parent | a153acde1d4d78b0cd4532851f09fc571827e20d (diff) | |
parent | 331e97bcf3778209f41e819354f873abf3886740 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/modifiers/intern/MOD_array.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c index c87816cb0ea..68a0f31ae13 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -102,9 +102,11 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte ArrayModifierData *amd = (ArrayModifierData *)md; if (amd->start_cap != NULL) { DEG_add_object_relation(ctx->node, amd->start_cap, DEG_OB_COMP_TRANSFORM, "Array Modifier Start Cap"); + DEG_add_object_relation(ctx->node, amd->start_cap, DEG_OB_COMP_GEOMETRY, "Array Modifier Start Cap"); } if (amd->end_cap != NULL) { DEG_add_object_relation(ctx->node, amd->end_cap, DEG_OB_COMP_TRANSFORM, "Array Modifier End Cap"); + DEG_add_object_relation(ctx->node, amd->end_cap, DEG_OB_COMP_GEOMETRY, "Array Modifier End Cap"); } if (amd->curve_ob) { struct Depsgraph *depsgraph = DEG_get_graph_from_handle(ctx->node); |