Fix broken physics modifiers after cleanup commits

4f3ec0110 and 5a64c687dd should have removed the entire conditional to skip
time depedent modifiers, rather than always enable it.
This commit is contained in:
Brecht Van Lommel 2021-07-01 12:55:27 +02:00
parent 229c0580e2
commit 8c3855dc6e
Notes: blender-bot 2023-02-14 00:10:08 +01:00
Referenced by issue #89583, Particles do not react to collision objects anymore
1 changed files with 0 additions and 8 deletions

View File

@ -1076,10 +1076,6 @@ static void mesh_calc_modifiers(struct Depsgraph *depsgraph,
continue;
}
if (mti->dependsOnTime && mti->dependsOnTime(md)) {
continue;
}
if (mti->type == eModifierTypeType_OnlyDeform && !sculpt_dyntopo) {
if (!deformed_verts) {
deformed_verts = BKE_mesh_vert_coords_alloc(mesh_input, &num_deformed_verts);
@ -1173,10 +1169,6 @@ static void mesh_calc_modifiers(struct Depsgraph *depsgraph,
continue;
}
if (mti->dependsOnTime && mti->dependsOnTime(md)) {
continue;
}
/* Add orco mesh as layer if needed by this modifier. */
if (mesh_final && mesh_orco && mti->requiredDataMask) {
CustomData_MeshMasks mask = {0};