diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-10-27 19:44:29 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-10-27 19:59:48 +0300 |
commit | c80594f57f1e5b73536f16e480a3bb459935848d (patch) | |
tree | 70b38dd888f4fb536c838c50fa505a3300b3b01f /source/blender/makesdna | |
parent | 3a7a9365259e30b43bfbbadceb2789b7bcee8dd2 (diff) |
GPencil: New parameter in Texture modifier to rotate Dot textures
This new parameter allows to rotate the texture of any Dot or Square stroke.
Differential Revision: https://developer.blender.org/D9343
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 3a9f9bd7b66..1a83120cae9 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -780,6 +780,9 @@ typedef struct TextureGpencilModifierData { /** Texture fit options. */ short fit_method; short mode; + /** Dot texture rotation */ + float alignment_rotation; + char _pad[4]; } TextureGpencilModifierData; typedef enum eTextureGpencil_Flag { |