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:
authorCampbell Barton <campbell@blender.org>2022-04-19 08:05:55 +0300
committerCampbell Barton <campbell@blender.org>2022-04-19 08:07:04 +0300
commit58d86527ae283b94ba18f54b1fcef1cb8063c910 (patch)
tree7271a529d4df4ddbcc5172f423f3226e57658a60 /release/scripts/startup/bl_ui/properties_data_mesh.py
parent8c25889bb67db4c1d2f94bf85ca6d1c2a050fcfe (diff)
Cleanup: run autopep8 on release/scripts/startup/
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_mesh.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_mesh.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py
index 1ba7a4a5413..d7c885cf870 100644
--- a/release/scripts/startup/bl_ui/properties_data_mesh.py
+++ b/release/scripts/startup/bl_ui/properties_data_mesh.py
@@ -65,6 +65,7 @@ class MESH_MT_shape_key_context_menu(Menu):
layout.operator("object.shape_key_move", icon='TRIA_UP_BAR', text="Move to Top").type = 'TOP'
layout.operator("object.shape_key_move", icon='TRIA_DOWN_BAR', text="Move to Bottom").type = 'BOTTOM'
+
class MESH_MT_attribute_context_menu(Menu):
bl_label = "Attribute Specials"
@@ -134,6 +135,7 @@ class MESH_UL_uvmaps(UIList):
layout.alignment = 'CENTER'
layout.label(text="", icon_value=icon)
+
class MeshButtonsPanel:
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
@@ -419,6 +421,7 @@ class DATA_PT_uv_texture(MeshButtonsPanel, Panel):
col.operator("mesh.uv_texture_add", icon='ADD', text="")
col.operator("mesh.uv_texture_remove", icon='REMOVE', text="")
+
class DATA_PT_remesh(MeshButtonsPanel, Panel):
bl_label = "Remesh"
bl_options = {'DEFAULT_CLOSED'}
@@ -605,7 +608,7 @@ class MESH_UL_color_attributes(UIList, ColorAttributesListBase):
sub.label(text="%s ▶ %s" % (domain_name, data_type.name))
active_render = _index == data.color_attributes.render_color_index
-
+
row = layout.row()
row.emboss = 'NONE'
prop = row.operator(
@@ -650,6 +653,7 @@ class DATA_PT_vertex_colors(DATA_PT_mesh_attributes, Panel):
self.draw_attribute_warnings(context, layout)
+
classes = (
MESH_MT_vertex_group_context_menu,
MESH_MT_shape_key_context_menu,