style cleanup: pep8 some C/style
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user