Brushstroke Tools: Initial Version #328

Merged
Simon Thommes merged 229 commits from SimonThommes/blender-studio-tools:brushstroke_tools-initial-version into main 2024-11-06 15:03:47 +01:00
2 changed files with 1 additions and 1 deletions
Showing only changes of commit d8aea3d3b9 - Show all commits

View File

@ -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')