Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-06-24 21:04:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-24 21:04:53 +0400
commitfc1040cc47594e2a68d120cf08c0c3c70fbc44d1 (patch)
treea530d83b6c7d107b1084cd993af23f41bd8b18ee /doc
parent1731d47976e84e9a612ecfe3e30a4e3c2c295e56 (diff)
Fix example
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/mathutils.Euler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/mathutils.Euler.py b/doc/python_api/examples/mathutils.Euler.py
index 3f87cc0ab04..bfd2a3ed5a0 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)