Brushstroke Tools: Initial Version #328
@ -226,7 +226,8 @@ class BSBST_PT_brushstroke_tools_panel(bpy.types.Panel):
|
|||||||
row = style_panel.row()
|
row = style_panel.row()
|
||||||
row_edit = row.row(align=True)
|
row_edit = row.row(align=True)
|
||||||
row_edit.operator('brushstroke_tools.select_surface', icon='OUTLINER_OB_SURFACE', text='')
|
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_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')
|
row.operator('brushstroke_tools.delete_brushstrokes', text='', icon='TRASH')
|
||||||
style_panel.template_list("BSBST_UL_brushstroke_objects", "", settings, "context_brushstrokes",
|
style_panel.template_list("BSBST_UL_brushstroke_objects", "", settings, "context_brushstrokes",
|
||||||
|
Loading…
Reference in New Issue
Block a user