[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2757] trunk/py/scripts/addons/ io_anim_nuke_chan/export_nuke_chan.py: Remove not needed variables ( sorry for posting so much)

Michael Krupa kroopson at wp.pl
Fri Dec 9 14:16:51 CET 2011


Revision: 2757
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2757
Author:   kroopson
Date:     2011-12-09 13:16:43 +0000 (Fri, 09 Dec 2011)
Log Message:
-----------
Remove not needed variables (sorry for posting so much)

Modified Paths:
--------------
    trunk/py/scripts/addons/io_anim_nuke_chan/export_nuke_chan.py

Modified: trunk/py/scripts/addons/io_anim_nuke_chan/export_nuke_chan.py
===================================================================
--- trunk/py/scripts/addons/io_anim_nuke_chan/export_nuke_chan.py	2011-12-09 12:53:39 UTC (rev 2756)
+++ trunk/py/scripts/addons/io_anim_nuke_chan/export_nuke_chan.py	2011-12-09 13:16:43 UTC (rev 2757)
@@ -69,10 +69,8 @@
 
         fw("%f\t%f\t%f\t" % (degrees(r[0]), degrees(r[1]), degrees(r[2])))
 
-        # if we have a camera, add the focal length
+        # if the selected object is a camera export vertical fov also
         if camera:
-            sensor_x = camera.sensor_width
-            sensor_y = camera.sensor_height
             vfov = degrees(camera.angle_y)
             fw("%f" % vfov)
 



More information about the Bf-extensions-cvs mailing list