Changed debug comments to output to notify level and tweaked the handling of the .terrain file.

This commit is contained in:
Robert Osfield
2007-08-24 19:16:35 +00:00
parent 09f63eebbb
commit f9ab446512
2 changed files with 3 additions and 1 deletions

View File

@@ -145,6 +145,8 @@ Locator* GeometryTechnique::computeMasterLocator()
osg::Vec3d GeometryTechnique::computeCenterModel(Locator* masterLocator)
{
if (!masterLocator) return osg::Vec3d(0.0,0.0,0.0);
BufferData& buffer = getWriteBuffer();
osgTerrain::Layer* elevationLayer = _terrain->getElevationLayer();