line 423 replaced assignment with Import call to make possible compile with non floats

This commit is contained in:
Nico Pietroni 2012-11-07 21:48:01 +00:00
parent 8e9430889c
commit 57adeea537
1 changed files with 3 additions and 3 deletions

View File

@ -420,7 +420,7 @@ namespace vcg
k = 0;
}
vertIndices[j] = atoi(tokens[k].c_str());
polygonVect[j] = mesh.vert[ vertIndices[j] ].P();
polygonVect[j].Import<ScalarType> (mesh.vert[ vertIndices[j] ].P());
k++;
}
if(vert_per_face==4)