WIP: Fix #93103: modifier iterations can be set to a negative value #110916

Draft
Philipp Oeser wants to merge 1 commits from lichtwerk/blender:93103 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Philipp Oeser 1ec80a176e Fix #93103: modifier iterations can be set to a negative value
Sanitize "iterations" in a couple of modifiers (namely Smooth, Corrective
Smooth, Laplacian Smooth & Laplacian Deform) to always
have a hard limit of 0.

Putting in negative values does not make sense (and could have caused an
infinite loop since the negative value is cast to unsigned internally in
the case of the 'Corrective Smooth' modifier).
2023-08-08 10:34:02 +02:00