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
Showing only changes of commit 5b9c896fc3 - Show all commits

View File

@ -226,7 +226,8 @@ class BSBST_PT_brushstroke_tools_panel(bpy.types.Panel):
row = style_panel.row()
row_edit = row.row(align=True)
row_edit.operator('brushstroke_tools.select_surface', icon='OUTLINER_OB_SURFACE', text='')
row_edit.operator('brushstroke_tools.edit_brushstrokes', icon='GREASEPENCIL')
bs_ob = utils.get_active_context_brushstrokes_object(context)
row_edit.operator('brushstroke_tools.edit_brushstrokes', icon='GREASEPENCIL', text = 'Edit Flow' if getattr(bs_ob, '["BSBST_method"]', None)=='SURFACE_FILL' else 'Edit Brushstrokes')
row_edit.prop(settings, 'edit_toggle', icon='RESTRICT_SELECT_OFF' if settings.edit_toggle else 'RESTRICT_SELECT_ON', icon_only=True)
row.operator('brushstroke_tools.delete_brushstrokes', text='', icon='TRASH')
style_panel.template_list("BSBST_UL_brushstroke_objects", "", settings, "context_brushstrokes",