[Bf-python] Re: Vector convenienve patch [committed]
Yann Vernier
yann at algonet.se
Sun Jan 23 18:10:44 CET 2005
On Tue, Jan 04, 2005 at 09:35:51AM +0100, Yann Vernier wrote:
> After getting errors countless times from the Mathutils.Vector
> constructor function, I got a bit fed up and decided to make it less
> picky. After all, there's no reason for it not to accept tuples, or
> vectors for that matter. I modified it to accept either a sequence of
> 2-4 float-compatible arguments or a sequence containing that. This also
> removes a memory leak present in the old version, where the interface
> for newVectorObject was misunderstood.
python/api2_2x/Mathutils.c revision 1.6 now has this change checked in.
More information about the Bf-python
mailing list