Another logging improvement

This commit is contained in:
Nathaniel MacArthur-Warner
2020-12-24 14:43:14 -08:00
parent 7dc8a86524
commit 7572d8f6ee

View File

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