[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [25197] trunk/blender/release/scripts/ui/ space_view3d.py: Wrong argument type for zoom operator.

Martin Poirier theeth at yahoo.com
Tue Dec 8 02:56:01 CET 2009


Revision: 25197
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=25197
Author:   theeth
Date:     2009-12-08 02:56:01 +0100 (Tue, 08 Dec 2009)

Log Message:
-----------
Wrong argument type for zoom operator.

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/space_view3d.py

Modified: trunk/blender/release/scripts/ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/ui/space_view3d.py	2009-12-08 00:57:14 UTC (rev 25196)
+++ trunk/blender/release/scripts/ui/space_view3d.py	2009-12-08 01:56:01 UTC (rev 25197)
@@ -293,8 +293,8 @@
 
         layout.separator()
 
-        layout.operator("view3d.zoom", text="Zoom In").delta = 1.0
-        layout.operator("view3d.zoom", text="Zoom Out").delta = -1.0
+        layout.operator("view3d.zoom", text="Zoom In").delta = 1
+        layout.operator("view3d.zoom", text="Zoom Out").delta = -1
 
         layout.separator()
 





More information about the Bf-blender-cvs mailing list