Blender Git Commit Log

Git Commits -> Revision 5535b0b

Revision 5535b0b by Cody Winchester (master)
December 15, 2020, 21:16 (GMT)
GPencil Array - Add option for uniform random scaling

This patch adds the option to make the random scaling from the grease pencil array modifier uniform.
The current settings allow a separate value for each of the 3 scaling axis. The modifier also creates different seed values for each axis so there is no way to keep the random scaling uniform.
This patch creates 1 random seed value and applies it to each of the scaling axis.

Here is a demonstration of the previous behavior and the new optional behavior.
{F9485973}
{F9485981}

{F9485798}

Reviewed By: #grease_pencil, antoniov, pepeland

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

Commit Details:

Full Hash: 5535b0b8878a84325b0f99ad10260e95433facc7
Parent Commit: 9e4a4c2
Committed By: Antonio Vazquez
Lines Changed: +18, -3

3 Modified Paths:

/source/blender/gpencil_modifiers/intern/MOD_gpencilarray.c (+12, -3) (Diff)
/source/blender/makesdna/DNA_gpencil_modifier_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_gpencil_modifier.c (+5, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021