Commit 74bc2a93 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Qt5 compat fixes.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18974 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a658e089
......@@ -241,7 +241,7 @@ bool FileOBJPlugin::writeMesh(std::ostream& _out, QString _filename, MeshT& _mes
bool optionFaceColors = false;
bool optionVertexNormals = false;
bool optionVertexTexCoords = false;
bool optionVertexTexCoords = true;
bool optionTextures = false;
bool optionCopyTextures = false;
bool optionCreateTexFolder = false;
......
......@@ -52,7 +52,8 @@ int FilePolyLinePlugin::loadObject(QString _filename)
serializer.deserialize(fin);
fin.close();
pol->lineNode()->drawMode(ACG::SceneGraph::DrawModes::WIREFRAME);
pol->lineNode()->drawMode(ACG::SceneGraph::DrawModes::WIREFRAME |
ACG::SceneGraph::DrawModes::POINTS);
pol->setFromFileName(_filename);
pol->setName(QFileInfo(_filename).fileName());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment