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 1438609c8a - Show all commits

View File

@ -196,7 +196,7 @@ class BSBST_OT_new_brushstrokes(bpy.types.Operator):
mod = brushstrokes_object.modifiers['Brushstrokes'] mod = brushstrokes_object.modifiers['Brushstrokes']
if settings.brushstroke_method == 'SURFACE_FILL': if settings.brushstroke_method == 'SURFACE_FILL':
# set density # set density
mod['Socket_7'] = utils.round_n(1000 / surf_est, 2) mod['Socket_7'] = utils.round_n((1000 / surf_est) ** 0.5, 2)
# set length # set length
mod['Socket_11'] = utils.round_n(bb_radius * 0.5, 2) mod['Socket_11'] = utils.round_n(bb_radius * 0.5, 2)
# set width # set width