Skip drawing clear cloud layers.

This commit is contained in:
david
2002-05-17 16:53:19 +00:00
parent 128a4a36ca
commit 3a835dde7d

View File

@@ -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 );
}