gwaldron/osgearth — Issue #45: osgEarthFeatures.dll Runtime Error / Unitialized variable.
Author: remoe
Created: 2011-11-09 14:04:33+00:00
State: open

Hi

Some Error:

In FeatureModelGraph::FeatureModelGraph calls:

_fullWorldBound = getBoundInWorldCoords( _usableMapExtent, 0L );

And then in "FeatureModelGraph::getBoundInWorldCoords" the variable "centerZ" is uninitialized at:

return osg::BoundingSphered( center, (center-corner).length() + fabs(centerZ) );

Here is the problem: "double centerZ;"

Cheers,
Remo