From e6f61a4a379bbb80296131fae0cef178e2145e52 Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Fri, 30 Oct 2020 15:41:52 +0100 Subject: 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 --- release/scripts/startup/bl_operators/presets.py | 1 + release/scripts/startup/bl_ui/properties_material_gpencil.py | 1 + 2 files changed, 2 insertions(+) (limited to 'release/scripts') diff --git a/release/scripts/startup/bl_operators/presets.py b/release/scripts/startup/bl_operators/presets.py index ca8999e9588..5da7a3270d9 100644 --- a/release/scripts/startup/bl_operators/presets.py +++ b/release/scripts/startup/bl_operators/presets.py @@ -676,6 +676,7 @@ class AddPresetGpencilMaterial(AddPresetBase, Operator): "gpcolor.pixel_size", "gpcolor.mix_stroke_factor", "gpcolor.alignment_mode", + "gpcolor.alignment_rotation", "gpcolor.fill_style", "gpcolor.fill_color", "gpcolor.fill_image", diff --git a/release/scripts/startup/bl_ui/properties_material_gpencil.py b/release/scripts/startup/bl_ui/properties_material_gpencil.py index da54ff1a137..7c8f6b2309a 100644 --- a/release/scripts/startup/bl_ui/properties_material_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py @@ -165,6 +165,7 @@ class MATERIAL_PT_gpencil_strokecolor(GPMaterialButtonsPanel, Panel): if gpcolor.mode in {'DOTS', 'BOX'}: col.prop(gpcolor, "alignment_mode") + col.prop(gpcolor, "alignment_rotation") if gpcolor.mode == 'LINE': col.prop(gpcolor, "use_overlap_strokes") -- cgit v1.2.3