Brushstroke Tools: Initial Version #328
Binary file not shown.
@ -147,7 +147,7 @@ def draw_material_settings(layout, material, surface_object=None):
|
|||||||
# draw opacity options
|
# draw opacity options
|
||||||
box = layout.box()
|
box = layout.box()
|
||||||
box.prop(material.node_tree.nodes['Use Strength'], 'mute', text='Use Brush Strength', invert_checkbox=True)
|
box.prop(material.node_tree.nodes['Use Strength'], 'mute', text='Use Brush Strength', invert_checkbox=True)
|
||||||
box.prop(material.node_tree.nodes['Opacity'].outputs[0], 'default_value', text='Opacity')
|
box.prop(material.node_tree.nodes['Opacity'].inputs[0], 'default_value', text='Opacity')
|
||||||
|
|
||||||
# draw BSDF options
|
# draw BSDF options
|
||||||
layout.prop(material.node_tree.nodes['Principled BSDF'].inputs[1], 'default_value', text='Metallic')
|
layout.prop(material.node_tree.nodes['Principled BSDF'].inputs[1], 'default_value', text='Metallic')
|
||||||
|
Loading…
Reference in New Issue
Block a user