From Katharina Plugge, fix for regression in handling of multitexturing.

This commit is contained in:
Robert Osfield 2010-11-26 17:37:42 +00:00
parent b9ae28d344
commit d8d47199f2
2 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ public:
void writeLocalVertexPool( const osg::Geometry& geom );
void writeMultitexture( const osg::Geometry& geom );
void writeUVList( int numVerts, const osg::Geometry& geom, const std::vector<unsigned int>& indices );
void writeUVList( int numVerts, const osg::Geometry& geom, unsigned int first);
void writeUVList( int numVerts, const osg::Geometry& geom, unsigned int first=0);
// Light Point records
void writeLightPoint();

View File

@ -947,7 +947,7 @@ FltExportVisitor::handleDrawArrays( const osg::DrawArrays* da, const osg::Geomet
int numVerts = writeVertexList( first, n );
first += n;
writeUVList( numVerts, geom, first );
writeUVList( numVerts, geom );
writePop();
}
@ -1032,7 +1032,7 @@ FltExportVisitor::handleDrawArrayLengths( const osg::DrawArrayLengths* dal, cons
first += n;
}
writeUVList( numVerts, geom, first );
writeUVList( numVerts, geom );
writePop();
}