GPencil: Hide UV factor for Dots and Boxes
This parameter is not used with these modes.
This commit is contained in:
@@ -142,7 +142,9 @@ class MATERIAL_PT_gpencil_strokecolor(GPMaterialButtonsPanel, Panel):
|
||||
row.enabled = not gpcolor.lock
|
||||
col = row.column(align=True)
|
||||
col.template_ID(gpcolor, "stroke_image", open="image.open")
|
||||
col.prop(gpcolor, "pixel_size", text="UV Factor")
|
||||
if gpcolor.mode == 'LINE':
|
||||
col.prop(gpcolor, "pixel_size", text="UV Factor")
|
||||
|
||||
col.prop(gpcolor, "use_stroke_pattern", text="Use As Pattern")
|
||||
|
||||
if gpcolor.stroke_style == 'SOLID' or gpcolor.use_stroke_pattern is True:
|
||||
|
||||
Reference in New Issue
Block a user