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