diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-31 14:57:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-31 14:57:35 +0400 |
commit | aff35474fc25df21447d031f664da333889aed9e (patch) | |
tree | 07140e05c8629f2f5b3d6ae9d4915bcce646d715 /io_mesh_raw | |
parent | 77774b1f12f94a7dd5ee9b0f21f99cb7780f51be (diff) |
various style edits, no functional changes
Diffstat (limited to 'io_mesh_raw')
-rw-r--r-- | io_mesh_raw/__init__.py | 10 | ||||
-rw-r--r-- | io_mesh_raw/export_raw.py | 8 | ||||
-rw-r--r-- | io_mesh_raw/import_raw.py | 6 |
3 files changed, 10 insertions, 14 deletions
diff --git a/io_mesh_raw/__init__.py b/io_mesh_raw/__init__.py index f712a7a1..6c8f1e21 100644 --- a/io_mesh_raw/__init__.py +++ b/io_mesh_raw/__init__.py @@ -16,7 +16,7 @@ # # ##### END GPL LICENSE BLOCK ##### -# <pep8 compliant> +# <pep8-80 compliant> bl_info = { @@ -28,10 +28,10 @@ bl_info = { "location": "File > Import-Export > Raw Faces (.raw) ", "description": "Import-Export Raw Faces", "warning": "", - "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\ - "Scripts/Import-Export/Raw_Mesh_IO", - "tracker_url": "https://projects.blender.org/tracker/index.php?"\ - "func=detail&aid=25692", + "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/" + "Scripts/Import-Export/Raw_Mesh_IO", + "tracker_url": "https://projects.blender.org/tracker/index.php?" + "func=detail&aid=25692", "category": "Import-Export"} if "bpy" in locals(): diff --git a/io_mesh_raw/export_raw.py b/io_mesh_raw/export_raw.py index b44fbda2..d33cfbae 100644 --- a/io_mesh_raw/export_raw.py +++ b/io_mesh_raw/export_raw.py @@ -16,11 +16,9 @@ # # ##### END GPL LICENSE BLOCK ##### -# <pep8 compliant> +# <pep8-80 compliant> -__author__ = ["Aurel Wildfellner"] -__version__ = '0.2' -__bpydoc__ = """\ +""" This script exports a Mesh to a RAW triangle format file. The raw triangle format is very simple; it has no verts or faces lists. @@ -40,7 +38,7 @@ import bpy def faceToTriangles(face): triangles = [] - if (len(face) == 4): + if len(face) == 4: triangles.append([face[0], face[1], face[2]]) triangles.append([face[2], face[3], face[0]]) else: diff --git a/io_mesh_raw/import_raw.py b/io_mesh_raw/import_raw.py index f17a41ee..e2cec4fa 100644 --- a/io_mesh_raw/import_raw.py +++ b/io_mesh_raw/import_raw.py @@ -16,11 +16,9 @@ # # ##### END GPL LICENSE BLOCK ##### -# <pep8 compliant> +# <pep8-80 compliant> -__author__ = ["Anthony D'Agostino (Scorpius)", "Aurel Wildfellner"] -__version__ = '0.2' -__bpydoc__ = """\ +""" This script imports Raw Triangle File format files to Blender. The raw triangle format is very simple; it has no verts or faces lists. |