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-12-06 21:40:39 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-12-06 21:40:39 +0400
commit5da257ab5d6cfb0c2e2a3aa44a2dfa3b776901e0 (patch)
tree6f43e0f8b40288cada45d009529b9f868227d4d8 /io_anim_nuke_chan/__init__.py
parent07584de9c16ced5bbebbfcd44ebf4c04f00b3003 (diff)
minor edits
- remove check if sensor width exists for chan files - tag nuke chan files to be pep8 - remove unused import
Diffstat (limited to 'io_anim_nuke_chan/__init__.py')
-rw-r--r--io_anim_nuke_chan/__init__.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/io_anim_nuke_chan/__init__.py b/io_anim_nuke_chan/__init__.py
index 142fb4c7..4a267b02 100644
--- a/io_anim_nuke_chan/__init__.py
+++ b/io_anim_nuke_chan/__init__.py
@@ -16,6 +16,8 @@
#
# ##### END GPL LICENSE BLOCK #####
+# <pep8-80 compliant>
+
bl_info = {
"name": "Nuke Animation Format (.chan)",
"author": "Michael Krupa",
@@ -50,7 +52,7 @@ from bpy.props import (StringProperty,
EnumProperty)
# property shared by both operators
-rot_ord = EnumProperty(
+rotation_order = EnumProperty(
name="Rotation order",
description="Choose the export rotation order",
items=(('XYZ', "XYZ", "XYZ"),
@@ -73,7 +75,7 @@ class ImportChan(Operator, ImportHelper):
filter_glob = StringProperty(default="*.chan", options={'HIDDEN'})
- rot_ord = rot_ord
+ rotation_order = rotation_order
z_up = BoolProperty(
name="Make Z up",
description="Switch the Y and Z axis",
@@ -88,7 +90,7 @@ class ImportChan(Operator, ImportHelper):
return import_nuke_chan.read_chan(context,
self.filepath,
self.z_up,
- self.rot_ord)
+ self.rotation_order)
class ExportChan(Operator, ExportHelper):
@@ -103,7 +105,7 @@ class ExportChan(Operator, ExportHelper):
name="Make Y up",
description="Switch the Y and Z axis",
default=True)
- rot_ord = rot_ord
+ rotation_order = rotation_order
@classmethod
def poll(cls, context):
@@ -114,7 +116,7 @@ class ExportChan(Operator, ExportHelper):
return export_nuke_chan.save_chan(context,
self.filepath,
self.y_up,
- self.rot_ord)
+ self.rotation_order)
def menu_func_import(self, context):