now the QtViewer App tries to load textures for PLY (and other formats) too, if possible

closes #1077

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@745 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Isaak Lim
2012-10-08 14:11:48 +00:00
parent eea5f4304a
commit 1d6e590a0f

View File

@@ -93,6 +93,15 @@ int main(int argc, char **argv)
usage_and_exit(1);
}
}
// enable most options for now
opt += OpenMesh::IO::Options::VertexColor;
opt += OpenMesh::IO::Options::VertexNormal;
opt += OpenMesh::IO::Options::VertexTexCoord;
opt += OpenMesh::IO::Options::FaceColor;
opt += OpenMesh::IO::Options::FaceNormal;
opt += OpenMesh::IO::Options::FaceTexCoord;
// create widget
QMainWindow mainWin;
MeshViewerWidget w(&mainWin);