]> git.mxchange.org Git - simgear.git/commit
Ensure every scenery model has own SGModelData.
authorThomas Geymayer <tomgey@gmail.com>
Mon, 1 Apr 2013 11:22:28 +0000 (13:22 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Mon, 1 Apr 2013 11:22:28 +0000 (13:22 +0200)
commitc41caeaf647cad33ae0f7551ea5978f6d2afcd83
treeee52cfca8c37881920ff532d43db44af5480bd9c
parentb6c542b0e7803971fca223ab3eb8d76b4685f31d
Ensure every scenery model has own SGModelData.

This makes Nasal unload hooks of scenery objects working again.
Previously the same SGModelData instance was used for all objects
which never got destroyed and therefore was not able to call any
unload callback.
simgear/scene/model/modellib.hxx
simgear/scene/tgdb/ReaderWriterSTG.cxx