]> git.mxchange.org Git - flightgear.git/commit
Fix bug#333 2D clouds sometimes not visible with material shaders are disabled
authorTorsten Dreyer <Torsten@t3r.de>
Fri, 3 Jun 2011 20:05:43 +0000 (22:05 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Fri, 3 Jun 2011 20:05:43 +0000 (22:05 +0200)
commitf28ddb0b5a3a9b8b864b807424a5421ed3f4c66f
tree9a978b56650488ee89b4ab17af74f02b37a661cc
parentd5f81f0eacfb8ab5f7a7767716454a12e687ce6d
Fix bug#333 2D clouds sometimes not visible with material shaders are disabled

Only draw 3d clouds if enabled and shader-effects are true.
Remove the property-tie for 3dclouds-enabled and use a change listener
instead which also listens for changes of the shader-effects property.
src/Environment/environment_mgr.cxx
src/Environment/environment_mgr.hxx