diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-12 14:04:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-12 14:07:59 +0300 |
commit | 17416b80f674b44837400ee951f40a89c8dbd938 (patch) | |
tree | c17aebfcda9c2f6ea4aa76c4d9f8d9b13818cde1 | |
parent | 07ff9e92bbcb6c293cffba9c9428926f6fa72160 (diff) |
Weight modifiers: Remove weird looking dependency
Modifiers are part of geometry component, no way they can
be dependent on the geometry component of the same object.
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvgmix.c | 1 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvgproximity.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvgmix.c b/source/blender/modifiers/intern/MOD_weightvgmix.c index b16ef17f87c..7db1aba3224 100644 --- a/source/blender/modifiers/intern/MOD_weightvgmix.c +++ b/source/blender/modifiers/intern/MOD_weightvgmix.c @@ -174,7 +174,6 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte } else if (wmd->mask_tex_mapping == MOD_DISP_MAP_GLOBAL) { DEG_add_modifier_to_transform_relation(ctx->node, "WeightVGMix Modifier"); - DEG_add_object_relation(ctx->node, ctx->object, DEG_OB_COMP_GEOMETRY, "WeightVGMix Modifier"); } if (wmd->mask_texture != NULL) { DEG_add_generic_id_relation(ctx->node, &wmd->mask_texture->id, "WeightVGMix Modifier"); diff --git a/source/blender/modifiers/intern/MOD_weightvgproximity.c b/source/blender/modifiers/intern/MOD_weightvgproximity.c index bb3898f97f5..0fd26598b54 100644 --- a/source/blender/modifiers/intern/MOD_weightvgproximity.c +++ b/source/blender/modifiers/intern/MOD_weightvgproximity.c @@ -348,7 +348,6 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte DEG_add_generic_id_relation(ctx->node, &wmd->mask_texture->id, "WeightVGProximity Modifier"); } DEG_add_modifier_to_transform_relation(ctx->node, "WeightVGProximity Modifier"); - DEG_add_object_relation(ctx->node, ctx->object, DEG_OB_COMP_GEOMETRY, "WeightVGProximity Modifier"); } static bool isDisabled(const struct Scene *UNUSED(scene), ModifierData *md, bool UNUSED(useRenderParams)) |