Fix T61046: Object with cloth jumps around

Was happening due to missing relation from geometry to
transform component. Did not happen in old dependency
graph because that one could never evaluate geometry
prior to transform.
This commit is contained in:
Sergey Sharybin 2019-01-31 17:38:01 +01:00
parent e7dfe15702
commit 9d10fc13e7
Notes: blender-bot 2023-02-14 04:06:41 +01:00
Referenced by issue #61046, Cloth from Blender 2.79 project file doesn't bake properly in blender 2.80 (Object Constraint Problem?)
Referenced by issue #60451, Soft body cache not being cleared when it should be in Blender 2.8
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte
DEG_add_collision_relations(ctx->node, ctx->object, clmd->coll_parms->group, eModifierType_Collision, NULL, "Cloth Collision");
DEG_add_forcefield_relations(ctx->node, ctx->object, clmd->sim_parms->effector_weights, true, 0, "Cloth Field");
}
DEG_add_object_relation(ctx->node, ctx->object, DEG_OB_COMP_TRANSFORM, "Cloth Modifier");
}
static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *md)