Vincent Bourdier wrote:
> Somewhere in my code, I make some root->addChild(functionCreateGeode());
> 
> but when I added a last one, OSG crash on rendering, pretending a vector 
> error.
> I've verified, it do not depend on the Geode, because it work if I 
> remove an "addChild()" before doing mine...

Not sure what you mean here, showing the relevant code might help.

> Is there a limit in the number of child ? or is it impossible to add 2 
> Geode (or more) on the same group ?

A Group node keeps its children nodes using a std::vector, which doesn't 
have any practical length limit (other than available memory and an 
integer counter of the number of items which might overflow).

Without seeing your actual code I'd guess this has something to do with 
not using ref_ptr where you should.

Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to