]> git.mxchange.org Git - flightgear.git/commit
only call occluder if the shadows were already initialized. This lead to
authormfranz <mfranz>
Wed, 12 Apr 2006 11:12:36 +0000 (11:12 +0000)
committermfranz <mfranz>
Wed, 12 Apr 2006 11:12:36 +0000 (11:12 +0000)
commit189896a7abea7b3498224be5a65c38b5b2688686
tree6e2707a983bf4d7031b669349b086d7df9123343
parent1fc105582ec3d4590a300fd8ecb119bc4bd8939d
only call occluder if the shadows were already initialized. This lead to
a crash when using the model manager from XML files (which apparently
nobody does, anyway ;-)  Now those models work (again), but have no
shadows. Those placed at runtime (e.g. via ufo) still have a shadow.
src/Model/modelmgr.cxx