* Melchior FRANZ -- Saturday 25 February 2006 23:08:
> Is everyone aware that we *never* free model branches? They are
> only accumulated until fgfs is exited.

The flush1() function was meant to remove unused models from the map.
It's functional, but not used. The comment suggests that it wouldn't
be a good idea to remove models at all. This is probably true for
airport objects and (global) random objects. We need them everywhere
and they are comparatively small and use few textures. Thus, I propose
to change the SGModelLib class after the 0.9.10 release to not cache
objects of type OBJECT_STATIC and objects that contain elements, which
should not be shared (e.g. Nasal code). I'll prepare a patch for that
when the scenery object nasalification is ready.

m.


-------------------------------------------------------
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&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to