Brushstroke Tools: Initial Version #328
@ -134,8 +134,6 @@ def draw_material_settings(layout, material, surface_object=None):
|
||||
material_header, material_panel = layout.panel("brushstrokes_material", default_closed=False)
|
||||
material_header.label(text='Properties', icon='MATERIAL')
|
||||
if material_panel:
|
||||
|
||||
material_panel.prop(material, 'diffuse_color', text='Viewport Color')
|
||||
# draw color options
|
||||
try:
|
||||
n1 = material.node_tree.nodes['Color Attribute']
|
||||
@ -204,6 +202,8 @@ def draw_material_settings(layout, material, surface_object=None):
|
||||
except:
|
||||
pass
|
||||
|
||||
material_panel.prop(material, 'diffuse_color', text='Viewport Color')
|
||||
|
||||
# draw brush style options
|
||||
try:
|
||||
n1 = material.node_tree.nodes['Brush Style']
|
||||
|
Loading…
Reference in New Issue
Block a user