From: david Date: Fri, 17 May 2002 16:53:19 +0000 (+0000) Subject: Skip drawing clear cloud layers. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a835dde7dcaf37e0312a8491929df3cc866105e;p=simgear.git Skip drawing clear cloud layers. --- diff --git a/simgear/sky/cloud.cxx b/simgear/sky/cloud.cxx index 900935fc..4c37a17a 100644 --- a/simgear/sky/cloud.cxx +++ b/simgear/sky/cloud.cxx @@ -344,7 +344,8 @@ bool SGCloudLayer::reposition( sgVec3 p, sgVec3 up, double lon, double lat, void SGCloudLayer::draw() { - ssgCullAndDraw( layer_root ); + if (layer_type != SG_CLOUD_CLEAR) + ssgCullAndDraw( layer_root ); }