Cleanup: Fix compiler warning from previous commit
The use_deform argument was always passed as zero or one, so the "< 0" check is no longer necessary.
This commit is contained in:
parent
4f3ec01101
commit
5a64c687dd
Notes:
blender-bot
2023-02-14 10:48:33 +01:00
Referenced by commit 8c3855dc6e
, Fix broken physics modifiers after cleanup commits
Referenced by issue #89589, Renaming or altering an asset resets custom thumbnail
Referenced by issue #89583, Particles do not react to collision objects anymore
|
@ -1173,7 +1173,7 @@ static void mesh_calc_modifiers(struct Depsgraph *depsgraph,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (use_deform < 0 && mti->dependsOnTime && mti->dependsOnTime(md)) {
|
||||
if (mti->dependsOnTime && mti->dependsOnTime(md)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue