Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.py20
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'}