]> git.mxchange.org Git - simgear.git/commitdiff
Minor changes to logging messages (to STDOUT).
authordavid <david>
Mon, 24 Nov 2003 17:41:43 +0000 (17:41 +0000)
committerdavid <david>
Mon, 24 Nov 2003 17:41:43 +0000 (17:41 +0000)
simgear/scene/material/matlib.cxx
simgear/scene/sky/cloud.cxx

index 79404622273603993f4521103aa1d2c33c274597..5a5114fe172e651af6b89d583ade425b4b46d07a 100644 (file)
@@ -254,7 +254,7 @@ bool SGMaterialLib::load( const string &fg_root, const string& mpath ) {
                         << names[j]->getStringValue() );
             }
         } else {
-            SG_LOG(SG_INPUT, SG_ALERT,
+            SG_LOG(SG_INPUT, SG_WARN,
                    "Skipping bad material entry " << node->getName());
         }
     }
index 8fda63941149fa590f6d5e3893b67fc6f63d4146..94daa6330ccb9eac401407cfb91c50cb9f7c85fd 100644 (file)
@@ -150,7 +150,7 @@ SGCloudLayer::rebuild()
     if ( !state_initialized ) { 
         state_initialized = true;
 
-        cout << "initializing cloud layers" << endl;
+        SG_LOG(SG_ASTRO, SG_INFO, "initializing cloud layers");
 
         SGPath cloud_path;
 
@@ -459,7 +459,7 @@ void SGCloudLayer::draw() {
 ssgSimpleState *sgCloudMakeState( const string &path ) {
     ssgSimpleState *state = new ssgSimpleState();
 
-    cout << " texture = " << path << endl;
+    SG_LOG(SG_ASTRO, SG_INFO, " texture = ");
 
     state->setTexture( (char *)path.c_str() );
     state->setShadeModel( GL_SMOOTH );