From Katharina Plugge, fix for regression in handling of multitexturing.
This commit is contained in:
parent
b9ae28d344
commit
d8d47199f2
@ -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();
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user