diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-24 23:31:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-24 23:36:16 +0400 |
commit | a15be343895d4f3481eb349b4d145ffbe1c10dce (patch) | |
tree | a49eb487e061df8e8378eeb3b2318c4d084babc2 /release/scripts/startup/bl_ui/properties_data_mesh.py | |
parent | 16443b1ae0f79e853ce13f17a3513a12c5cd8883 (diff) |
Code cleanup: unused python vars & imports
Use frosted rather then pyflakes
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_mesh.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_mesh.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index edf3354db4f..622c9ba2445 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -76,7 +76,7 @@ class MESH_UL_shape_keys(UIList): def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index): # assert(isinstance(item, bpy.types.ShapeKey) obj = active_data - key = data + # key = data key_block = item if self.layout_type in {'DEFAULT', 'COMPACT'}: split = layout.split(0.66, False) @@ -323,7 +323,6 @@ class DATA_PT_uv_texture(MeshButtonsPanel, Panel): layout = self.layout me = context.mesh - lay = me.uv_textures.active row = layout.row() col = row.column() @@ -343,7 +342,6 @@ class DATA_PT_vertex_colors(MeshButtonsPanel, Panel): layout = self.layout me = context.mesh - lay = me.vertex_colors.active row = layout.row() col = row.column() |