Skip to content

Commit

Permalink
Merge branch '2.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Apr 23, 2019
2 parents 6b8e67a + e5794ac commit a75d387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PROJECT(OSGEARTH)

SET(OSGEARTH_MAJOR_VERSION 2)
SET(OSGEARTH_MINOR_VERSION 10)
SET(OSGEARTH_PATCH_VERSION 0)
SET(OSGEARTH_PATCH_VERSION 1)
SET(OSGEARTH_SOVERSION 0)

SET(OSGEARTH_PLUGIN_PREFIX "")
Expand Down
3 changes: 2 additions & 1 deletion src/osgEarthDrivers/engine_rex/SurfaceNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ SurfaceNode::computeBound() const
float
SurfaceNode::getPixelSizeOnScreen(osg::CullStack* cull) const
{
return cull->clampedPixelSize(getMatrix().getTrans(), _drawable->getRadius()) / cull->getLODScale();
double R = _drawable->getRadius() / 1.4142;
return cull->clampedPixelSize(getMatrix().getTrans(), R) / cull->getLODScale();
}

void
Expand Down

0 comments on commit a75d387

Please sign in to comment.