Minor changes to logging messages (to STDOUT).
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user