[Bf-python] Re: IPO stuff- delCurve, delBezier, addChannel

Dominic Agoro-Ombaka dmao at operamail.com
Fri Mar 11 17:53:07 CET 2005


Wow, that was quick! Thank you very much! I can't test the patch unfortunately as I've never compiled blender, but I look forward to seeing it in a testing build.

A bit OT, does anybody know of a good bezier decimation algorithm?

> From: Ken Hughes <khughes at pacific.edu>
> Subject: [Bf-python] Ipo.removeCurve() and Ipocurve.delBezier() patch

> Here's a patch which implements Ipo.removeCurve() and IpoCurve.delBezier().
> I've also attached a blend file I used to test removeCurve() for memory
> leaks; I ran 1,000,000 iterations and didn't see any change, so I took
> that as a good sign.
> 
> removeCurve() takes a string with the IPO curve name and throws an
> exception if the curve isn't defined.  delBezier() takes an integer
> index (negative numbers index from the rear of the list ala python)
> and throws an exception if the argument isn't an integer or is
> outside of the list range.  I also took the liberty of including the
> fix for IpoCurveRepr() which I sent earlier this week.
> 
> Ken
-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
From your mailbox to local or overseas cell phones.

Powered by Outblaze



More information about the Bf-python mailing list