Thorsten Werner wrote on Wednesday, November 11, 2009 10:31 AM:
> Ahhh. Ok that worked. But now i uncommented
> 
> Code:
> this->addChild(ElementLower[count_width]);
> 
> It compiles but gives a "Segmentation Fault" at startup.

Not a lot of information to go on, but here's a WAG:

count_width is counting down, but ElementLower is growing, so
ElementLower[count_width] is not the same as the element you just passed
to push_back().

HTH,
-- 
Bryan Thrall
FlightSafety International
[email protected]
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to