diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-23 23:04:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-23 23:04:12 +0400 |
commit | 4f6f24752bcaa18db129c0a0daf1ceb358d5865a (patch) | |
tree | c8a7d66a4d251a3b9093756fd6022a05849f4057 /doc/python_api | |
parent | 969a076b0202047508bedad0c7a91ee610e9422a (diff) |
correct example [#35850] documentation error for mathutils.Vector
Diffstat (limited to 'doc/python_api')
-rw-r--r-- | doc/python_api/examples/mathutils.Vector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/mathutils.Vector.py b/doc/python_api/examples/mathutils.Vector.py index bf1fc70353f..14b8829c3b5 100644 --- a/doc/python_api/examples/mathutils.Vector.py +++ b/doc/python_api/examples/mathutils.Vector.py @@ -4,7 +4,7 @@ import mathutils 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)) |