From MAthias Froehlich, "Attached is a compile fix I need on Suse 11.1 for a successful compile.

Just avoid uint8_t typed values in src/osgPlugins/ply/vertexData.cpp
if they are not needed for a particular reason ..."
This commit is contained in:
Robert Osfield
2009-05-07 13:21:05 +00:00
parent 255243ea0c
commit 870b1919c8

View File

@@ -126,8 +126,8 @@ void VertexData::readTriangles( PlyFile* file, const int nFaces )
// read in the faces, asserting that they are only triangles
uint8_t ind1 = _invertFaces ? 2 : 0;
uint8_t ind3 = _invertFaces ? 0 : 2;
int ind1 = _invertFaces ? 2 : 0;
int ind3 = _invertFaces ? 0 : 2;
for( int i = 0; i < nFaces; ++i )
{
ply_get_element( file, static_cast< void* >( &face ) );