diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-04 09:47:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-04 09:47:04 +0400 |
commit | 233d8594fc2d18f1598dbc407b82486d165471a4 (patch) | |
tree | 1a9f72dec2cc8360fed107fe26e86a72573461c0 /doc/python_api | |
parent | 4ea7e562f8dcf79d22280d8fe83984e8029d2132 (diff) |
[#26768] 2.57 - sys.path not initialized properly
we should document this properly (we only have general design docs atm), for now just correct the tooltip.
also update api example docs.
Diffstat (limited to 'doc/python_api')
-rw-r--r-- | doc/python_api/examples/mathutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/examples/mathutils.py b/doc/python_api/examples/mathutils.py index dcc10c5885c..b65e61a1044 100644 --- a/doc/python_api/examples/mathutils.py +++ b/doc/python_api/examples/mathutils.py @@ -13,6 +13,6 @@ mat3 = mat.to_3x3() quat1 = mat.to_quaternion() quat2 = mat3.to_quaternion() -angle = quat1.difference(quat2) +quat_diff = quat1.rotation_difference(quat2) -print(angle) +print(quat_diff.angle) |