Quick PyAPI patch:
Now it is possible to clean IPO-curves using the call: icu.clean() There's an optional value to specify the threshold to use for cleaning. This just wraps the internal clean_ipo_curve() function.
This commit is contained in:
@@ -216,6 +216,17 @@ class IpoCurve:
|
||||
@return: the points of the Ipo curve.
|
||||
"""
|
||||
|
||||
def clean( thresh=0.0000001 ):
|
||||
"""
|
||||
Calls the IPO-curve cleaning function on this IpoCurve.
|
||||
There is no need to recalculate curve manually.
|
||||
@type thresh: float
|
||||
@param thresh: The threshold to used to determine if two values are identical.
|
||||
By default, the IPO-editor tool's value is used.
|
||||
@rtype: None
|
||||
@return: None
|
||||
"""
|
||||
|
||||
def evaluate( time ):
|
||||
"""
|
||||
Compute the value of the Ipo curve at a particular time (B{deprecated}).
|
||||
|
||||
Reference in New Issue
Block a user