diff options
author | Cody Winchester <CodyWinch> | 2021-12-13 19:14:32 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-12-13 19:14:44 +0300 |
commit | a90c3564676649aa4a0b74112c852a75de6d3521 (patch) | |
tree | e52f0845e3fd097a3b5a3663417fd13fbf35c4a2 /source/blender/makesdna/DNA_gpencil_modifier_defaults.h | |
parent | 459af75d1ed586f08cd43e2aec7a3b270e809132 (diff) |
GPencil: Add randomize options to Length modifier
This patch adds a randomize factor for the start/end lengths in the Length modifier.
Reviewed By: #grease_pencil, antoniov, pepeland, HooglyBoogly
Differential Revision: https://developer.blender.org/D12928
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_modifier_defaults.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_defaults.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_defaults.h b/source/blender/makesdna/DNA_gpencil_modifier_defaults.h index e0947085694..88eb164c2b4 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_defaults.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_defaults.h @@ -333,6 +333,11 @@ .point_density = 30.0f,\ .segment_influence = 0.0f,\ .max_angle = DEG2RAD(170.0f),\ + .rand_start_fac = 0.0f,\ + .rand_end_fac = 0.0f,\ + .rand_offset = 0.0f,\ + .seed = 0,\ + .step = 4,\ } #define _DNA_DEFAULT_DashGpencilModifierData \ |