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:
parent
d6ae2e6aa0
commit
305d555be4
1 changed files with 0 additions and 5 deletions
|
@ -326,9 +326,6 @@ FGStgTerrain::get_elevation_m(const SGGeod& geod, double& alt,
|
|||
alt = geodEnd.getElevationM();
|
||||
if (material) {
|
||||
*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;
|
||||
|
@ -339,8 +336,6 @@ FGStgTerrain::get_cart_ground_intersection(const SGVec3d& pos, const SGVec3d& di
|
|||
SGVec3d& nearestHit,
|
||||
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
|
||||
if ( norm1(pos) < 1 )
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue