]> git.mxchange.org Git - flightgear.git/commit
Crash-fix: mat-lib is now reference-counted.
authorJames Turner <zakalawe@mac.com>
Sun, 19 Jan 2014 16:49:32 +0000 (16:49 +0000)
committerJames Turner <zakalawe@mac.com>
Sun, 19 Jan 2014 16:49:44 +0000 (16:49 +0000)
commitce3a7b20fe45b90a90f12927417a2475f6b878e6
tree76c7de71df78e2797cc5962456a10927b80f7be3
parent2df74c9b63f2d5378928f6029380cc1e67acd21e
Crash-fix: mat-lib is now reference-counted.

Adapt to corresponding SG change to make SGMaterialLib be ref-counted,
and have the 'reload-materials' command notify the tile-manager of this,
so it can update the options struct it passes to new tiles.
src/Main/fg_commands.cxx
src/Main/globals.cxx
src/Main/globals.hxx
src/Scenery/tilemgr.cxx
src/Scenery/tilemgr.hxx
utils/fgelev/fgelev.cxx
utils/fgviewer/fgviewer.cxx