This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/makesdna
Cody Winchester 6a2bc40e01 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
2021-04-29 15:45:03 +02:00
..
2021-02-20 15:38:14 +11:00
2021-01-04 17:38:11 +11:00
2021-02-14 20:58:04 +11:00
2021-02-14 20:58:04 +11:00
2021-02-17 15:04:29 +11:00
2021-02-13 17:44:51 +11:00
2019-08-18 04:26:34 +10:00
2021-01-20 16:15:53 +11:00
2020-12-23 12:13:44 -06:00
2021-02-09 10:42:00 +11:00
2021-02-14 20:58:04 +11:00
2021-02-14 20:58:04 +11:00
2021-04-11 14:37:37 +10:00
2021-02-13 17:44:51 +11:00
2021-02-14 20:58:04 +11:00
2021-02-13 17:44:51 +11:00
2021-02-14 20:58:04 +11:00
2021-02-13 17:44:51 +11:00
2021-02-13 17:44:51 +11:00