[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57674] trunk/blender/doc/python_api/ examples/mathutils.Vector.py: correct example [#35850] documentation error for mathutils.Vector
Campbell Barton
ideasman42 at gmail.com
Sun Jun 23 21:04:12 CEST 2013
Revision: 57674
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57674
Author: campbellbarton
Date: 2013-06-23 19:04:12 +0000 (Sun, 23 Jun 2013)
Log Message:
-----------
correct example [#35850] documentation error for mathutils.Vector
Modified Paths:
--------------
trunk/blender/doc/python_api/examples/mathutils.Vector.py
Modified: trunk/blender/doc/python_api/examples/mathutils.Vector.py
===================================================================
--- trunk/blender/doc/python_api/examples/mathutils.Vector.py 2013-06-23 18:21:26 UTC (rev 57673)
+++ trunk/blender/doc/python_api/examples/mathutils.Vector.py 2013-06-23 19:04:12 UTC (rev 57674)
@@ -4,7 +4,7 @@
vec = mathutils.Vector((0.0, 0.0, 1.0))
# unit length vector
-vec_a = vec.copy().normalize()
+vec_a = vec.normalized()
vec_b = mathutils.Vector((0.0, 1.0, 2.0))
More information about the Bf-blender-cvs
mailing list