Another logging improvement
This commit is contained in:
@@ -238,6 +238,8 @@ namespace simgear {
|
||||
const Texture2DRef texture = textureFromImage(image);
|
||||
const OrthophotoBounds bbox = OrthophotoBounds::fromBucket(bucket);
|
||||
return new Orthophoto(texture, bbox);
|
||||
} else {
|
||||
SG_LOG(SG_OSG, SG_ALERT, "Failed to load orthophoto with path " << dds_path);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -250,6 +252,8 @@ namespace simgear {
|
||||
const Texture2DRef texture = textureFromImage(image);
|
||||
const OrthophotoBounds bbox = OrthophotoBounds::fromBucket(bucket);
|
||||
return new Orthophoto(texture, bbox);
|
||||
} else {
|
||||
SG_LOG(SG_OSG, SG_ALERT, "Failed to load orthophoto with path " << png_path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user