Brushstroke Tools: Initial Version #328
@ -125,6 +125,7 @@ def draw_panel_ui_recursive(panel, panel_name, mod, items, display_mode, hide_pa
|
|||||||
col.prop(s, 'hide_ui', icon_only=True, icon='UNPINNED' if s.hide_ui else 'PINNED', emboss=False)
|
col.prop(s, 'hide_ui', icon_only=True, icon='UNPINNED' if s.hide_ui else 'PINNED', emboss=False)
|
||||||
|
|
||||||
def draw_material_settings(layout, material, surface_object=None):
|
def draw_material_settings(layout, material, surface_object=None):
|
||||||
|
layout.prop(material, 'diffuse_color', text='Viewport Color')
|
||||||
# draw color options
|
# draw color options
|
||||||
box = layout.box()
|
box = layout.box()
|
||||||
box.prop(material.node_tree.nodes['Color Attribute'], 'mute', text='Use Brush Color', invert_checkbox=True)
|
box.prop(material.node_tree.nodes['Color Attribute'], 'mute', text='Use Brush Color', invert_checkbox=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user