[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36631] trunk/blender/release/scripts/ modules/view3d_utils.py: minor error in last commit

Campbell Barton ideasman42 at gmail.com
Thu May 12 08:34:55 CEST 2011


Revision: 36631
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36631
Author:   campbellbarton
Date:     2011-05-12 06:34:54 +0000 (Thu, 12 May 2011)
Log Message:
-----------
minor error in last commit

Modified Paths:
--------------
    trunk/blender/release/scripts/modules/view3d_utils.py

Modified: trunk/blender/release/scripts/modules/view3d_utils.py
===================================================================
--- trunk/blender/release/scripts/modules/view3d_utils.py	2011-05-12 06:32:21 UTC (rev 36630)
+++ trunk/blender/release/scripts/modules/view3d_utils.py	2011-05-12 06:34:54 UTC (rev 36631)
@@ -18,7 +18,6 @@
 
 # <pep8 compliant>
 
-import bpy
 
 def region_2d_to_vector_3d(region, rv3d, coord):
     """
@@ -47,8 +46,8 @@
 
 def region_2d_to_location_3d(region, rv3d, coord, depth_location):
     """
-    Return a direction vector from the viewport at the spesific 2d region
-    coordinate.
+    Return a 3d location from the region relative 2d coords, aligned with
+    *depth_location*.
 
     :arg region: region of the 3D viewport, typically bpy.context.region.
     :type region: :class:`Region`




More information about the Bf-blender-cvs mailing list