diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-29 07:35:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-29 07:35:06 +0300 |
commit | 7095f4766593cc2b55669b032d7de0fa13fcb4c7 (patch) | |
tree | 3567f182b513225a1b522b75e144eb5b75d1b6e2 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py | |
parent | d434815ff7c586f6e54af667e37c9d2d12726416 (diff) |
cleanup: pep8
also remove empty class parenthesis
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index 81079edd938..9969c568bf9 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -41,7 +41,7 @@ def gpencil_stroke_placement_settings(context, layout, gpd): row.prop(gpd, "use_stroke_endpoints") -class GreasePencilDrawingToolsPanel(): +class GreasePencilDrawingToolsPanel: # subclass must set # bl_space_type = 'IMAGE_EDITOR' bl_label = "Grease Pencil" @@ -89,7 +89,7 @@ class GreasePencilDrawingToolsPanel(): col.operator("view3d.ruler") -class GreasePencilStrokeEditPanel(): +class GreasePencilStrokeEditPanel: # subclass must set # bl_space_type = 'IMAGE_EDITOR' bl_label = "Edit Strokes" @@ -196,8 +196,8 @@ class GPENCIL_PIE_tool_palette(Menu): col = pie.column() row = col.row(align=True) row.operator("transform.translate", icon='MAN_TRANS').gpencil_strokes = True - row.operator("transform.rotate", icon='MAN_ROT').gpencil_strokes = True - row.operator("transform.resize", text="Scale", icon='MAN_SCALE').gpencil_strokes = True + row.operator("transform.rotate", icon='MAN_ROT').gpencil_strokes = True + row.operator("transform.resize", text="Scale", icon='MAN_SCALE').gpencil_strokes = True row = col.row(align=True) row.label("Proportional Edit:") row.prop(context.tool_settings, "proportional_edit", text="", icon_only=True) @@ -314,9 +314,9 @@ class GPENCIL_UL_layer(UIList): split = layout.split(percentage=0.25) row = split.row(align=True) - row.prop(gpl, "color", text="", emboss = gpl.is_stroke_visible) - row.prop(gpl, "fill_color", text="", emboss = gpl.is_fill_visible) - split.prop(gpl, "info", text="", emboss=False) + row.prop(gpl, "color", text="", emboss=gpl.is_stroke_visible) + row.prop(gpl, "fill_color", text="", emboss=gpl.is_fill_visible) + split.prop(gpl, "info", text="", emboss=False) row = layout.row(align=True) row.prop(gpl, "lock", text="", emboss=False) @@ -326,7 +326,7 @@ class GPENCIL_UL_layer(UIList): layout.label(text="", icon_value=icon) -class GreasePencilDataPanel(): +class GreasePencilDataPanel: # subclass must set # bl_space_type = 'IMAGE_EDITOR' bl_label = "Grease Pencil" @@ -371,7 +371,7 @@ class GreasePencilDataPanel(): gpl = context.active_gpencil_layer if gpl: - sub.operator("gpencil.layer_duplicate", icon='COPY_ID', text="") # XXX: needs a dedicated icon + sub.operator("gpencil.layer_duplicate", icon='COPY_ID', text="") # XXX: needs a dedicated icon col.separator() @@ -455,7 +455,7 @@ class GreasePencilDataPanel(): sub.prop(gpl, "ghost_after_range", text="After") -class GreasePencilToolsPanel(): +class GreasePencilToolsPanel: # subclass must set # bl_space_type = 'IMAGE_EDITOR' # bl_options = {'DEFAULT_CLOSED'} |