Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-10-30 17:41:52 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-10-30 17:45:00 +0300
commite6f61a4a379bbb80296131fae0cef178e2145e52 (patch)
treeef7827aaaedbde2b27bda982e66f5c917cdf7157 /source/blender/makesdna
parentaacdc3995886b4aad93044c4cec5e05f3dfc6cae (diff)
GPencil: New material parameter to rotate texture
Add a parameter to rotate the texture for Dots and Squares Differential Revision: https://developer.blender.org/D9369
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_material_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index 355d3d6439b..1d31b876068 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -99,7 +99,8 @@ typedef struct MaterialGPencilStyle {
float mix_stroke_factor;
/** Mode used to align Dots and Boxes with stroke drawing path and object rotation */
int alignment_mode;
- char _pad[4];
+ /** Rotation for texture for Dots and Squares. */
+ float alignment_rotation;
} MaterialGPencilStyle;
/* MaterialGPencilStyle->flag */