Cleanup: trailing space, remove tabs, pep8

This commit is contained in:
Campbell Barton
2019-09-10 06:11:52 +10:00
parent 51334dd3a6
commit c8c3e7d284
29 changed files with 90 additions and 79 deletions

View File

@@ -604,10 +604,10 @@ class GPENCIL_MT_move_to_layer(Menu):
while(i >= 0):
gpl = gpd.layers[i]
if gpl.info == gpl_active.info:
icon='GREASEPENCIL'
icon = 'GREASEPENCIL'
else:
icon = 'NONE'
layout.operator("gpencil.move_to_layer", text=gpl.info, icon=icon).layer=i
layout.operator("gpencil.move_to_layer", text=gpl.info, icon=icon).layer = i
i -= 1
layout.separator()
@@ -640,7 +640,7 @@ class GPENCIL_MT_cleanup(Menu):
if ob.mode != 'PAINT_GPENCIL':
layout.operator("gpencil.stroke_merge_by_distance", text="Merge by Distance")
layout.separator()
layout.operator("gpencil.frame_clean_fill", text="Boundary Strokes").mode = 'ACTIVE'