Blender Git Commit Log

Git Commits -> Revision 6b90093

May 1, 2021, 08:12 (GMT)
Gpencil Offset Modifier - Add randomize offset options

This patch adds the Randomize options that exist in the Array modifier to the offset modifier.

Currently the patch uses
```
BLI_findindex(&gpf->strokes, gps);
```
to get the index of the current stroke for making each stroke a different seed value. This is how the noise modifier also gets the stroke seed value and it is noted there as well that this method is slow, and should be fixed in the future with another method of getting the stroke index.
Other methods were explored such as using the total number of points of the stroke, but that makes the randomize options incompatible with other modifiers before it such as Multiple Strokes, Array, Build, and Simplify.

{F9591325}

Differential Revision: https://developer.blender.org/D10171

Commit Details:

Full Hash: 6b9009315e091337f58f463d5fb40a67d6c9a556
Parent Commit: 09e1e5d
Committed By: YimingWu
Lines Changed: +111, -2

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2022