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-04-13 09:39:20 +02:00
2019-04-17 06:21:24 +02:00
2021-03-19 15:33:43 +11:00
2021-02-20 15:38:14 +11:00
2020-10-08 13:23:30 +02:00
2021-03-30 11:40:26 +02:00
2020-12-15 17:03:00 +01:00
2021-01-04 17:38:11 +11:00
2021-02-14 20:58:04 +11:00
2020-12-03 22:55:35 +01:00
2021-02-09 16:00:36 +01:00
2021-02-09 16:00:36 +01:00
2020-08-07 09:50:34 +02:00
2020-08-07 10:04:57 +02:00
2020-11-06 12:32:54 +11:00
2020-08-07 09:50:34 +02:00
2021-02-14 20:58:04 +11:00
2020-10-08 16:11:38 +02:00
2021-03-23 13:27:17 +11:00
2021-02-17 15:04:29 +11:00
2021-02-13 17:44:51 +11:00
2021-03-23 18:34:46 +11:00
2021-04-08 15:52:33 +02:00
2020-11-19 13:41:50 +01:00
2020-12-17 12:22:47 -06:00
2020-08-07 09:50:34 +02:00
2020-08-07 09:50:34 +02:00
2019-08-18 04:26:34 +10:00
2021-01-20 16:15:53 +11:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-12-23 15:48:38 +01:00
2020-12-23 12:13:44 -06:00
2020-08-07 09:50:34 +02:00
2021-04-13 09:39:20 +02:00
2021-04-28 16:53:19 +02:00
2021-04-29 15:45:03 +02:00
2021-04-23 16:58:40 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2021-02-09 10:42:00 +11:00
2021-04-26 16:35:22 +02:00
2020-09-11 08:08:46 +02:00
2021-02-09 08:12:29 +01:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-12-14 09:27:58 +01:00
2021-04-01 12:31:01 +02:00
2021-04-01 12:31:01 +02:00
2020-08-07 09:50:34 +02:00
2021-02-14 20:58:04 +11:00
2021-04-13 21:43:07 +10:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2021-02-14 20:58:04 +11:00
2020-08-07 09:50:34 +02:00
2021-03-16 19:59:09 +01:00
2021-04-02 14:44:26 +02:00
2021-04-11 14:37:37 +10:00
2021-02-11 13:44:58 +01:00
2020-08-07 09:50:34 +02:00
2021-02-13 17:44:51 +11:00
2021-04-22 16:31:41 +10:00
2021-04-22 16:31:41 +10:00
2021-04-14 14:25:34 +02:00
2021-02-22 16:30:04 +01:00
2020-11-19 13:41:50 +01:00
2021-04-27 12:56:13 +02:00
2021-03-16 19:59:09 +01:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2021-02-14 20:58:04 +11:00
2021-04-15 09:00:47 +02:00
2021-03-05 17:46:33 +01:00
2020-11-19 13:41:50 +01:00
2020-10-08 18:19:09 +02:00
2021-02-13 17:44:51 +11:00
2020-11-19 19:09:24 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2021-02-14 20:58:04 +11:00
2021-03-10 21:45:12 +11:00
2021-02-19 17:41:28 +01:00
2021-02-13 17:44:51 +11:00
2020-11-19 13:41:50 +01:00
2021-03-21 14:12:58 +11:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2021-04-26 09:16:53 +02:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00
2020-08-07 09:50:34 +02:00
2020-10-10 22:04:51 +11:00
2021-02-13 17:44:51 +11:00
2021-04-13 20:31:50 +02:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-12-02 18:16:23 -05:00
2020-11-19 13:41:50 +01:00
2020-11-13 08:14:56 +01:00
2020-11-19 13:41:50 +01:00
2021-03-30 16:23:58 -03:00
2020-09-15 23:13:01 +05:30
2020-11-19 13:41:50 +01:00
2021-04-16 23:50:05 +10:00
2020-12-15 12:34:14 +11:00
2020-08-07 09:50:34 +02:00
2020-11-19 13:41:50 +01:00
2020-11-19 13:41:50 +01:00