style cleanup: pep8 some C/style

This commit is contained in:
Campbell Barton
2012-04-08 08:09:37 +00:00
parent c1e475e527
commit 4fc6ef1cf5
6 changed files with 16 additions and 11 deletions

View File

@@ -48,7 +48,8 @@ def mesh_linked_tessfaces(mesh):
# sort faces into connectivity groups
face_groups = [[f] for f in mesh.tessfaces]
face_mapping = list(range(len(mesh.tessfaces))) # map old, new face location
# map old, new face location
face_mapping = list(range(len(mesh.tessfaces)))
# Now clump faces iteratively
ok = True

View File

@@ -671,7 +671,9 @@ class Header(StructRNA, _GenericUI, metaclass=RNAMeta):
class Menu(StructRNA, _GenericUI, metaclass=RNAMeta):
__slots__ = ()
def path_menu(self, searchpaths, operator, props_default={}, filter_ext=None):
def path_menu(self, searchpaths, operator,
props_default={}, filter_ext=None):
layout = self.layout
# hard coded to set the operators 'filepath' to the filename.

View File

@@ -318,7 +318,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col = split.column()
col.label(text="Vertex Group:")
col.prop_search(md, "vertex_group", ob, "vertex_groups", text="")
layout.separator()
layout.prop(md, "strength", slider=True)