On Sunday 26 February 2006 09:23, Melchior FRANZ wrote:
> Could have been introduced recently with ssgSharedPtr<>.
No!

> Around 
> the time when we got random objects it was desirable not to have
> thousand separate tree objects etc. in memory. So the
> SGModelLib::load_model() function was introduced. It holds all
> models in a map<string path, ssgSharedPtr<ssgEntity>>. The objects
> are removed from the scenegraph when the tile is freed, but because
> we still hold the refcounted model branches in this map, they are
> *not* freed.
Yes this is exactly the behavour we had before in cvs.
Just counting is automatic.

   Greetings

          Mathias

-- 
Mathias Fröhlich, email: [EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to