The "select random" action now samples predictably the number of paths / keypoints determined by the ratio parameter.
Part of T87228
Differential D13758
Apply random selection factor precisely for particle select. Authored by Matias Piipari (mz2) on Jan 6 2022, 11:47 PM.
Details
The "select random" action now samples predictably the number of paths / keypoints determined by the ratio parameter. Part of T87228
Diff Detail
Event Timeline
Comment Actions Style tweaks to address review feedback I changed the implementation from switch-case to if/else given braces with switch-cases not part of Blender conventions, and the variable declarations without them got messy with a switch-case (without braces would have had to declare the variables outside, and as the cases are quite different, that would turn extra messy).
Comment Actions Drops a stray whitespace change, and back to a switch-case with braces so that local variables can be declared inside the cases.
| |||||||||||||||||||||||||||||||||||||||||||||||