diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-09 14:10:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-09 14:10:02 +0400 |
commit | 2a79b350e8543d25d71e0c55fae2ec3805a85c9e (patch) | |
tree | 71c7884095f6fc32b13e16e4cbd27f0f9b7a83cd | |
parent | 0660cc9242717d4ac1578529c607a513d431d962 (diff) |
reduce stl docstrings and keep chan exporter pep8 (remove minor warnings at least)
-rw-r--r-- | io_anim_nuke_chan/import_nuke_chan.py | 7 | ||||
-rw-r--r-- | io_mesh_stl/__init__.py | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/io_anim_nuke_chan/import_nuke_chan.py b/io_anim_nuke_chan/import_nuke_chan.py index 48103e09..aa534a97 100644 --- a/io_anim_nuke_chan/import_nuke_chan.py +++ b/io_anim_nuke_chan/import_nuke_chan.py @@ -59,9 +59,9 @@ def read_chan(context, filepath, z_up, rot_ord, sensor_width, sensor_height): translation_mat = Matrix.Translation(v_transl) translation_mat.to_4x4() - # read the rotations, and set the rotation order basing on the order - # set during the export (it's not being saved in the chan file - # you have to keep it noted somewhere + # read the rotations, and set the rotation order basing on the + # order set during the export (it's not being saved in the chan + # file you have to keep it noted somewhere # the actual objects rotation order doesn't matter since the # rotations are being extracted from the matrix afterwards e_rot = Euler((radians(float(data[4])), @@ -100,7 +100,6 @@ def read_chan(context, filepath, z_up, rot_ord, sensor_width, sensor_height): obj.rotation_euler = trns[1].to_euler(obj.rotation_mode) obj.keyframe_insert("rotation_euler") - # check if the object is camera and fov data is present if camera and len(data) > 7: camera.sensor_fit = 'HORIZONTAL' diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py index 7ba313bc..2eb36a82 100644 --- a/io_mesh_stl/__init__.py +++ b/io_mesh_stl/__init__.py @@ -108,9 +108,7 @@ class ImportSTL(bpy.types.Operator, ImportHelper): class ExportSTL(bpy.types.Operator, ExportHelper): - ''' - Save STL triangle mesh data from the active object - ''' + '''Save STL triangle mesh data from the active object''' bl_idname = "export_mesh.stl" bl_label = "Export STL" |