[Bf-python] Re: Modifier API

Campbell Barton cbarton at metavr.com
Sat Apr 22 03:00:59 CEST 2006


Hey Ken,

Had a look at adding yesterday but it didnt go as planned.
Come to the conclusion that adding iterators to every listbase is 
overkill. Or we need a generic LinkedList python wrapper.
This means we would have the same problem as Mesh materials, not able to 
use append directly on the list,

One other issue is that Im not sure weather we can wrap the modifier 
data, what if the user deleates the modifier while python is storing it?
Maybe rare enough to ignore, but would easerly segfault Blender if you 
tried to access a removed modifier in python.

Can you let me know how you go? - was going to have another shot this 
weekend, so if it works out I wont..

- Cam


Ken Hughes wrote:
> Cam:
>
> Was watching for bug reports about Ipo API on IRC this afternoon and 
> started to kill time by working on a Modifier API, based on some ideas 
> you and I chatted about Thursday.  Thought before I got too far into 
> it I should check whether you've actually started coding the same thing.
>
> Ken
>


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241



More information about the Bf-python mailing list