Commit 73513dc2 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 ebfa7378
...@@ -52,7 +52,8 @@ int FilePolyLinePlugin::loadObject(QString _filename) ...@@ -52,7 +52,8 @@ int FilePolyLinePlugin::loadObject(QString _filename)
serializer.deserialize(fin); serializer.deserialize(fin);
fin.close(); fin.close();
pol->lineNode()->drawMode(ACG::SceneGraph::DrawModes::WIREFRAME); pol->lineNode()->drawMode(ACG::SceneGraph::DrawModes::WIREFRAME |
ACG::SceneGraph::DrawModes::POINTS);
pol->setFromFileName(_filename); pol->setFromFileName(_filename);
pol->setName(QFileInfo(_filename).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