typo/bugfix

metadata
Wenzel Jakob 2010-08-31 02:44:43 +02:00
parent a00438551f
commit 559af6f2b3
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ void writeGeometry(std::string prefixName, std::string id, int geomIndex, std::s
for (size_t i=0; i<tess_data.size(); i+=tess_nSources) {
Vertex vertex;
domUint posRef = tess_data[i+vData->typeToOffset[EPosition]];
domUint posRef = tess_data[i+vData->typeToOffsetInStream[EPosition]];
vertex.v = vData->data[vData->typeToOffset[EPosition]][posRef].toPoint();
if (vData->typeToOffset[ENormal] != -1) {