1
0
Fork 0

Reduce log output at level=debug

These messages aren’t adding much based on my understanding, we can
re-add something more specific if needed.
This commit is contained in:
James Turner 2019-01-22 17:30:36 +01:00
parent d6ae2e6aa0
commit 305d555be4

View file

@ -326,9 +326,6 @@ FGStgTerrain::get_elevation_m(const SGGeod& geod, double& alt,
alt = geodEnd.getElevationM(); alt = geodEnd.getElevationM();
if (material) { if (material) {
*material = intersectVisitor.getMaterial(); *material = intersectVisitor.getMaterial();
SG_LOG(SG_TERRAIN, SG_DEBUG, "FGStgTerrain::get_elevation_m: alt " << alt << " material " << *material );
} else {
SG_LOG(SG_TERRAIN, SG_DEBUG, "FGStgTerrain::get_elevation_m: alt " << alt << " no material " );
} }
return true; return true;
@ -339,8 +336,6 @@ FGStgTerrain::get_cart_ground_intersection(const SGVec3d& pos, const SGVec3d& di
SGVec3d& nearestHit, SGVec3d& nearestHit,
const osg::Node* butNotFrom) const osg::Node* butNotFrom)
{ {
SG_LOG(SG_TERRAIN, SG_DEBUG, "FGStgTerrain::get_cart_ground_intersection");
// We assume that starting positions in the center of the earth are invalid // We assume that starting positions in the center of the earth are invalid
if ( norm1(pos) < 1 ) if ( norm1(pos) < 1 )
return false; return false;