[Bf-committers] A few questions about Object and ListBase

Stephen Swaney sswaney at swbell.net
Sun Sep 12 07:13:57 CEST 2004


joeedh wrote:
> 
> Hi, I have a few questions regarding Object and Lists in Blender. . .
> 
> First of all, where exactly is the pointer to the Library block data in
> the Object struct?  Is it somewhere in ID?
> 
> Also, how does Lists in Blender work?  What is ListBase for?  How do I
> use it?  And why does ListBase only have only *first and *last as
> members?  Or in other words, how do I insert objects into a List as
> created by a ListBase?  For example, the list of nodes in a CSG hiarchy.

For someone who has already decided that Blender's object
architecture is a complete mess and totally inadequate, you 
seem to have a lot of questions about the basic data structures.  
Not to mention a total unfamiliarity with linked lists.

None of which means that these are not good questions, though.
You might want to find a good book on data structures.  It
will explain lists and trees and all sorts of other goodies.

-- 
Stephen Swaney			
sswaney at swbell.net


More information about the Bf-committers mailing list