Symptom: The computation of TerrainTiles containing only image layers (no 
elevation layer) is incorrect. The resulting bounding sphere will always have a 
radius of zero.

The fix is to remove the call to bs.expandBy(v) and compute the radius 
directly. I believe this call was intended to be bs.expandRadiusBy(v), but it 
is superfluous when the radius is computed directly.

Thanks.

---------------
Ross Anderson
[email protected]
Group 106 - Active Optical Systems
MIT Lincoln Laboratory
(781) 981-3344

Attachment: Layer.cpp
Description: Layer.cpp

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to