All pastes #605319 Raw Edit

Untitled

public c v1 · immutable
·published 2007-07-06 02:52 UTC
rendered paste body
Index: source/blender/python/api2_2x/doc/Ipo.py===================================================================--- source/blender/python/api2_2x/doc/Ipo.py	(revision 11174)+++ source/blender/python/api2_2x/doc/Ipo.py	(working copy)@@ -15,11 +15,11 @@ 	from Blender import Ipo  	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-		ob[Ipo.OB_LOCX] = None			# change here icu  to ob+	ob.name = 'ipo1'				# change the Ipo's name+	icu = ob[Ipo.OB_LOCX]				# request X Location Ipo curve object+	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+		ob[Ipo.OB_LOCX] = None			# delete the ipo curve 	 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