From c80594f57f1e5b73536f16e480a3bb459935848d Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Tue, 27 Oct 2020 17:44:29 +0100 Subject: 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 --- source/blender/makesdna/DNA_gpencil_modifier_types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/makesdna') 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 { -- cgit v1.2.3