From 3a835dde7dcaf37e0312a8491929df3cc866105e Mon Sep 17 00:00:00 2001 From: david Date: Fri, 17 May 2002 16:53:19 +0000 Subject: [PATCH] Skip drawing clear cloud layers. --- simgear/sky/cloud.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } -- 2.39.5