diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-08 12:09:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-08 12:09:37 +0400 |
commit | 4fc6ef1cf57a48626cbfa7fd9cc09de9bec29f92 (patch) | |
tree | 6e1c9f9381d5a6a8027e265ddb56ab909cc1b99c /release/scripts/modules | |
parent | c1e475e527c49ed1a355472f560ae43a27af8f15 (diff) |
style cleanup: pep8 some C/style
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/bpy_extras/mesh_utils.py | 3 | ||||
-rw-r--r-- | release/scripts/modules/bpy_types.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/release/scripts/modules/bpy_extras/mesh_utils.py b/release/scripts/modules/bpy_extras/mesh_utils.py index c3ecfcd5dca..3ce45154765 100644 --- a/release/scripts/modules/bpy_extras/mesh_utils.py +++ b/release/scripts/modules/bpy_extras/mesh_utils.py @@ -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 diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 6f921868ccc..131bb8ee77e 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -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. |