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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-07-05 15:28:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-07-05 15:28:11 +0400
commitcff039bc58fe2ed54d4dad0828f5dede0b26a206 (patch)
tree7f355e658263af2ecbee4e039d65a0d1d17b9e28 /source/blender/python/api2_2x/doc/Ipo.py
parentfced2b24715cc0855518c404b4eef3501fe78591 (diff)
Ipo doc correction thanks to kempoller
Diffstat (limited to 'source/blender/python/api2_2x/doc/Ipo.py')
-rw-r--r--source/blender/python/api2_2x/doc/Ipo.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/doc/Ipo.py b/source/blender/python/api2_2x/doc/Ipo.py
index 8658f9cda1c..68ac0c04b67 100644
--- a/source/blender/python/api2_2x/doc/Ipo.py
+++ b/source/blender/python/api2_2x/doc/Ipo.py
@@ -14,12 +14,12 @@ several IpoCurves, and an IpoCurve is composed of several BezTriples.
Example::
from Blender import Ipo
- ob = Ipo.Get('ObIpo') # retrieves an Ipo object
- ob.name = 'ipo1' # change the Ipo's name
- icu = ipo[Ipo.OB_LOCX] # request X Location Ipo curve object
+ ob = Ipo.Get('ObIpo') # retrieves an Ipo object
+ ob.name = 'ipo1' # change the Ipo's name
+ icu = ob[Ipo.OB_LOCX] # change here ipo to ob
if icu != None and len(icu.bezierPoints) > 0: # if curve exists and has BezTriple points
- val = icu[2.5] # get the curve's value at time 2.5
- icu[Ipo.OB_LOCX] = None # delete the ipo curve
+ val = icu[2.5] # get the curve's value at time 2.5
+ ob[Ipo.OB_LOCX] = None # change here icu to ob
Each type of Ipo has different types Ipocurves. With the exception of Shape
Key Ipos, constants are used to specify all Ipocurves. There are two ways