Fix T75492: Only positive shrink factor values can be animated
A better fix would probably be to check if the value is animated, but I'm not sure how to do that. Reviewers: zeddb Differential Revision: https://developer.blender.org/D7692
This commit is contained in:
@@ -394,7 +394,7 @@ static int do_step_cloth(
|
||||
cloth_apply_vgroup(clmd, result);
|
||||
|
||||
if ((clmd->sim_parms->flags & CLOTH_SIMSETTINGS_FLAG_DYNAMIC_BASEMESH) ||
|
||||
(clmd->sim_parms->vgroup_shrink > 0) || (clmd->sim_parms->shrink_min > 0.0f)) {
|
||||
(clmd->sim_parms->vgroup_shrink > 0) || (clmd->sim_parms->shrink_min != 0.0f)) {
|
||||
cloth_update_spring_lengths(clmd, result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user