From 233d8594fc2d18f1598dbc407b82486d165471a4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 4 Apr 2011 05:47:04 +0000 Subject: [#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. --- doc/python_api/examples/mathutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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) -- cgit v1.2.3