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
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user