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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user