From 29baa5026ea90d2654d873c9a9e65a9e321fbb12 Mon Sep 17 00:00:00 2001
From: Stephen Swaney <sswaney@centurytel.net>
Date: Thu, 25 Mar 2004 06:18:56 +0000
Subject: [PATCH] add info about units for rotation IPOs and Object Euler
 angles.

---
 source/blender/python/api2_2x/doc/Ipo.py    | 4 ++++
 source/blender/python/api2_2x/doc/Object.py | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/source/blender/python/api2_2x/doc/Ipo.py b/source/blender/python/api2_2x/doc/Ipo.py
index 6eb1c460b36..272d96311b0 100644
--- a/source/blender/python/api2_2x/doc/Ipo.py
+++ b/source/blender/python/api2_2x/doc/Ipo.py
@@ -177,6 +177,10 @@ class IpoCurve:
   The IpoCurve object
   ===================
   This object gives access to generic data from all ipocurves objects in Blender.
+
+  Important Notes for Rotation Curves:\n
+  For the rotation IpoCurves, the y values for points are in units of 10 degrees.  example:  45.0 degrees is stored as 4.50 degrees.  These are the same numbers you see in the Transform Properties pupmenu ( NKey ) in the IPO Curve Editor window.  Positive rotations are in a counter-clockwise direction, just like in math class.
+  
   @cvar name: The Curve Data name.
   @cvar bezierPoints : The list of the Bezier points.
   """
diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py
index 05290549eb9..39e625e8a62 100644
--- a/source/blender/python/api2_2x/doc/Object.py
+++ b/source/blender/python/api2_2x/doc/Object.py
@@ -213,8 +213,8 @@ class Object:
 
   def getEuler():
     """
-    Returns the object's rotation as Euler rotation vector (rotX, rotY, rotZ).
-    @rtype: A vector triple
+    Returns the object's rotation as Euler rotation vector (rotX, rotY, rotZ).  Angles are in radians.
+    @rtype: A vector triple of floats
     @return: (rotX, rotY, rotZ)
     """
 
-- 
GitLab