From John Ivar Haugland and Michael Platings,

JIV:"I deleted a line from the ReaderWriterDAE.cpp file that was introduced in rev 11341. I got a crash on this line when the options pointer was NULL."
MP:"Good spot John. The next line is also unnecessary and can be removed as well (attached, plus some minor code beautifying)"
This commit is contained in:
Robert Osfield
2010-04-28 20:10:53 +00:00
parent 8b8ca09ab1
commit 22dfe6f8d1
2 changed files with 9 additions and 8 deletions

View File

@@ -838,6 +838,8 @@ void GeometryTechnique::generateGeometry(BufferData& buffer, Locator* masterLoca
// populate vertex and tex coord arrays
//
VNG.populateCenter(elevationLayer, layerToTexCoordMap);
#if 0
if (terrain)
{
TileID tileID = _terrainTile->getTileID();
@@ -954,6 +956,8 @@ void GeometryTechnique::generateGeometry(BufferData& buffer, Locator* masterLoca
}
#endif
}
#endif
osg::ref_ptr<osg::Vec3Array> skirtVectors = new osg::Vec3Array((*VNG._normals));
VNG.computeNormals();