Travis Cobbs Wrote:
-------------------------------------------------------
> Just as a note, in LDView, I use an STL std::map
> object of strings to bools to track the whole list
> of parent, grandparent, etc. models while loading.
Just curious, did you implement this because you encountered files in the wild which contained circular references, or were you just coding defensively? As you might gather from the title of this thread, the current version of Bricksmith crashes the instant you attempt to create a circular reference, so it certainly isn't possible to save such a thing from it.
Allen
-------------------------------------------------------
> Just as a note, in LDView, I use an STL std::map
> object of strings to bools to track the whole list
> of parent, grandparent, etc. models while loading.
Just curious, did you implement this because you encountered files in the wild which contained circular references, or were you just coding defensively? As you might gather from the title of this thread, the current version of Bricksmith crashes the instant you attempt to create a circular reference, so it certainly isn't possible to save such a thing from it.
Allen