Revision b64e980...
Go back to digest for 21st August 2011Bug Fixes in Educational
Bernhard Beschow committed changes in [marble] /lib:
move atmosphere into the "SURFACE" layer
Being currently in the "BEHIND_TARGET" layer, the atmosphere is currently considered a part of the background (layers "STARS" and "BEHIND_TARGET").
However, it currently gets rendered regardless of what MarbleMap::showBackground() returns.
Therefore, in order to keep current behavior once all layers are ported to the LayerInterface, we move it to the "SURFACE" layer and assign it a negative zValue().
Note that this commit won't have an effect until AtmosphereLayer is rendered by the LayerManager (which it is currently not).
RevBy: tackat
File Changes
Modified 2 files
- /lib
- src/AtmosphereLayer.cpp
- src/AtmosphereLayer.h
2 files changed in total