If the author of this message isn't alerted enough to *fix* this, then I'm
sure the users won't do that either. This is regularly triggerd and leads to meaningless error reports.
This commit is contained in:
@@ -780,7 +780,7 @@ bool SGCloudLayer::reposition( sgVec3 p, sgVec3 up, double lon, double lat,
|
|||||||
if ( base[1] > -10.0 && base[1] < 10.0 ) {
|
if ( base[1] > -10.0 && base[1] < 10.0 ) {
|
||||||
base[1] -= (int)base[1];
|
base[1] -= (int)base[1];
|
||||||
} else {
|
} else {
|
||||||
SG_LOG(SG_ASTRO, SG_ALERT,
|
SG_LOG(SG_ASTRO, SG_DEBUG,
|
||||||
"Error: base = " << base[0] << "," << base[1] <<
|
"Error: base = " << base[0] << "," << base[1] <<
|
||||||
" course = " << course << " dist = " << dist );
|
" course = " << course << " dist = " << dist );
|
||||||
base[1] = 0.0;
|
base[1] = 0.0;
|
||||||
|
|||||||
Reference in New Issue
Block a user