[Bf-blender-cvs] [fc1040c] master: Fix example
Campbell Barton
noreply at git.blender.org
Tue Jun 24 19:05:21 CEST 2014
Commit: fc1040cc47594e2a68d120cf08c0c3c70fbc44d1
Author: Campbell Barton
Date: Wed Jun 25 03:04:53 2014 +1000
https://developer.blender.org/rBfc1040cc47594e2a68d120cf08c0c3c70fbc44d1
Fix example
===================================================================
M doc/python_api/examples/mathutils.Euler.py
===================================================================
diff --git a/doc/python_api/examples/mathutils.Euler.py b/doc/python_api/examples/mathutils.Euler.py
index 3f87cc0..bfd2a3e 100644
--- a/doc/python_api/examples/mathutils.Euler.py
+++ b/doc/python_api/examples/mathutils.Euler.py
@@ -5,7 +5,7 @@ import math
eul = mathutils.Euler((0.0, math.radians(45.0), 0.0), 'XYZ')
# rotate the euler
-eul.rotate_axis(math.radians(10.0), 'Z')
+eul.rotate_axis('Z', math.radians(10.0))
# you can access its components by attribute or index
print("Euler X", eul.x)
More information about the Bf-blender-cvs
mailing list