Brushstroke Tools: Initial Version #328
@ -227,7 +227,8 @@ class BSBST_PT_brushstroke_tools_panel(bpy.types.Panel):
|
|||||||
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='')
|
||||||
bs_ob = utils.get_active_context_brushstrokes_object(context)
|
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')
|
text = 'Edit Flow' if getattr(bs_ob, '["BSBST_method"]', None)=='SURFACE_FILL' else 'Edit Brushstrokes'
|
||||||
|
row_edit.operator('brushstroke_tools.edit_brushstrokes', icon='GREASEPENCIL', text = text)
|
||||||
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