Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-15 02:52:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-15 02:52:13 +0300
commitbbeb2132fc8a10a7b697ce30c72f4bbab5da25e0 (patch)
tree40469caafde843a087ff1d87a6e214288538265d
parent374c7c2a7ba029236c9cceb63218453579ba70d8 (diff)
pep8 cleanup
-rw-r--r--io_mesh_uv_layout/__init__.py1
-rw-r--r--io_mesh_uv_layout/export_uv_eps.py1
-rw-r--r--io_mesh_uv_layout/export_uv_png.py1
-rw-r--r--io_mesh_uv_layout/export_uv_svg.py3
-rw-r--r--io_scene_fbx/export_fbx.py8
-rw-r--r--space_view3d_copy_attributes.py2
6 files changed, 9 insertions, 7 deletions
diff --git a/io_mesh_uv_layout/__init__.py b/io_mesh_uv_layout/__init__.py
index 0c468f04..ec55d0e5 100644
--- a/io_mesh_uv_layout/__init__.py
+++ b/io_mesh_uv_layout/__init__.py
@@ -155,7 +155,6 @@ class ExportUVLayout(bpy.types.Operator):
from . import export_uv_svg
func = export_uv_svg.write
-
func(fw, mesh, self.size[0], self.size[1], self.opacity, lambda: self._face_uv_iter(context))
if is_editmode:
diff --git a/io_mesh_uv_layout/export_uv_eps.py b/io_mesh_uv_layout/export_uv_eps.py
index 48a6cb73..df75cf73 100644
--- a/io_mesh_uv_layout/export_uv_eps.py
+++ b/io_mesh_uv_layout/export_uv_eps.py
@@ -20,6 +20,7 @@
import bpy
+
def write(fw, mesh, image_width, image_height, opacity, face_iter_func):
fw("%!PS-Adobe-3.0 EPSF-3.0\n")
fw("%%%%Creator: Blender %s\n" % bpy.app.version_string)
diff --git a/io_mesh_uv_layout/export_uv_png.py b/io_mesh_uv_layout/export_uv_png.py
index 7a453f5a..a9e90541 100644
--- a/io_mesh_uv_layout/export_uv_png.py
+++ b/io_mesh_uv_layout/export_uv_png.py
@@ -20,6 +20,7 @@
import bpy
+
def write(fw, mesh_source, image_width, image_height, opacity, face_iter_func):
filepath = fw.__self__.name
fw.__self__.close()
diff --git a/io_mesh_uv_layout/export_uv_svg.py b/io_mesh_uv_layout/export_uv_svg.py
index 260c49e5..464211cb 100644
--- a/io_mesh_uv_layout/export_uv_svg.py
+++ b/io_mesh_uv_layout/export_uv_svg.py
@@ -20,6 +20,7 @@
import bpy
+
def write(fw, mesh, image_width, image_height, opacity, face_iter_func):
# for making an XML compatible string
from xml.sax.saxutils import escape
@@ -60,4 +61,4 @@ def write(fw, mesh, image_width, image_height, opacity, face_iter_func):
fw('%.3f,%.3f ' % (x * image_width, y * image_height))
fw('" />\n')
fw('\n')
- fw('</svg>\n') \ No newline at end of file
+ fw('</svg>\n')
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py
index c6c91869..10bfe536 100644
--- a/io_scene_fbx/export_fbx.py
+++ b/io_scene_fbx/export_fbx.py
@@ -1829,7 +1829,7 @@ def save_single(operator, scene, filepath="",
tmp_ob_type = ob_type = None # incase no objects are exported, so as not to raise an error
-## XXX
+## XXX
if EXP_ARMATURE:
# This is needed so applying modifiers dosnt apply the armature deformation, its also needed
@@ -2820,7 +2820,7 @@ Takes: {''')
return {'FINISHED'}
-def save(operator, context,
+def save(operator, context,
filepath="",
use_selection=True,
batch_mode='OFF',
@@ -2837,7 +2837,7 @@ def save(operator, context,
kwargs_mod["context_objects"] = context.selected_objects
else:
kwargs_mod["context_objects"] = scene.objects
-
+
return save_single(operator, context.scene, filepath, **kwargs_mod)
else:
fbxpath = filepath
@@ -2879,7 +2879,7 @@ def save(operator, context,
# group, so objects update properly, add a dummy scene.
scene = bpy.data.scenes.new(name="FBX_Temp")
scene.layers = [True] * 20
- # bpy.data.scenes.active = scene # XXX, cant switch
+ # bpy.data.scenes.active = scene # XXX, cant switch
for ob_base in data.objects:
scene.objects.link(ob_base)
diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index 49d6e61a..01379cc7 100644
--- a/space_view3d_copy_attributes.py
+++ b/space_view3d_copy_attributes.py
@@ -643,7 +643,7 @@ class MESH_OT_CopyFaceSettings(bpy.types.Operator):
bl_idname = 'mesh.copy_face_settings'
bl_label = "Copy Face Settings"
bl_options = {'REGISTER', 'UNDO'}
-
+
mode = bpy.props.StringProperty(name="mode")
layer = bpy.props.StringProperty(name="layer")