[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2755] trunk/py/scripts/addons: reduce stl docstrings and keep chan exporter pep8 ( remove minor warnings at least)
Campbell Barton
ideasman42 at gmail.com
Fri Dec 9 11:10:04 CET 2011
Revision: 2755
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2755
Author: campbellbarton
Date: 2011-12-09 10:10:02 +0000 (Fri, 09 Dec 2011)
Log Message:
-----------
reduce stl docstrings and keep chan exporter pep8 (remove minor warnings at least)
Modified Paths:
--------------
trunk/py/scripts/addons/io_anim_nuke_chan/import_nuke_chan.py
trunk/py/scripts/addons/io_mesh_stl/__init__.py
Modified: trunk/py/scripts/addons/io_anim_nuke_chan/import_nuke_chan.py
===================================================================
--- trunk/py/scripts/addons/io_anim_nuke_chan/import_nuke_chan.py 2011-12-09 09:22:04 UTC (rev 2754)
+++ trunk/py/scripts/addons/io_anim_nuke_chan/import_nuke_chan.py 2011-12-09 10:10:02 UTC (rev 2755)
@@ -59,9 +59,9 @@
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 @@
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'
Modified: trunk/py/scripts/addons/io_mesh_stl/__init__.py
===================================================================
--- trunk/py/scripts/addons/io_mesh_stl/__init__.py 2011-12-09 09:22:04 UTC (rev 2754)
+++ trunk/py/scripts/addons/io_mesh_stl/__init__.py 2011-12-09 10:10:02 UTC (rev 2755)
@@ -108,9 +108,7 @@
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"
More information about the Bf-extensions-cvs
mailing list