GP: Add option to select color affected in modifiers
Now it's possible to define if the Tint, Hue and OPacity modifier affect the stroke color, fill color or both.
This commit is contained in:
@@ -1757,6 +1757,8 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
|
||||
|
||||
row = layout.row()
|
||||
row.prop(md, "create_materials")
|
||||
row.prop(md, "modify_color")
|
||||
|
||||
|
||||
def GP_COLOR(self, layout, ob, md):
|
||||
gpd = ob.data
|
||||
@@ -1779,6 +1781,7 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
|
||||
|
||||
row = layout.row()
|
||||
row.prop(md, "create_materials")
|
||||
row.prop(md, "modify_color")
|
||||
|
||||
def GP_OPACITY(self, layout, ob, md):
|
||||
gpd = ob.data
|
||||
@@ -1805,6 +1808,7 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
|
||||
|
||||
row = layout.row()
|
||||
row.prop(md, "create_materials")
|
||||
row.prop(md, "modify_color")
|
||||
|
||||
def GP_INSTANCE(self, layout, ob, md):
|
||||
gpd = ob.data
|
||||
|
||||
Reference in New Issue
Block a user