Commit 875ca7bf authored by Dirk Wilden's avatar Dirk Wilden
Browse files

removed warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10619 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0f7a7d90
...@@ -341,7 +341,7 @@ int FilePLYPlugin::loadObject(QString _filename) { ...@@ -341,7 +341,7 @@ int FilePLYPlugin::loadObject(QString _filename) {
// If Ask is selected -> show dialog // If Ask is selected -> show dialog
QMessageBox msgBox; QMessageBox msgBox;
QPushButton *detectButton = msgBox.addButton(tr("Auto-Detect"), QMessageBox::ActionRole); QPushButton *detectButton = msgBox.addButton(tr("Auto-Detect"), QMessageBox::ActionRole);
QPushButton *triButton = msgBox.addButton(tr("Open as triangle mesh"), QMessageBox::ActionRole); // QPushButton *triButton = msgBox.addButton(tr("Open as triangle mesh"), QMessageBox::ActionRole);
QPushButton *polyButton = msgBox.addButton(tr("Open as poly mesh"), QMessageBox::ActionRole); QPushButton *polyButton = msgBox.addButton(tr("Open as poly mesh"), QMessageBox::ActionRole);
msgBox.setWindowTitle( tr("Mesh types in file") ); msgBox.setWindowTitle( tr("Mesh types in file") );
...@@ -576,7 +576,7 @@ bool FilePLYPlugin::saveObject(int _id, QString _filename) ...@@ -576,7 +576,7 @@ bool FilePLYPlugin::saveObject(int _id, QString _filename)
//----------------------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------------------
QWidget* FilePLYPlugin::saveOptionsWidget(QString _currentFilter) { QWidget* FilePLYPlugin::saveOptionsWidget(QString /*_currentFilter*/) {
if (saveOptions_ == 0){ if (saveOptions_ == 0){
//generate widget //generate widget
......
...@@ -56,7 +56,6 @@ bool FilePLYPlugin::readMeshFileAscii(QString _filename, MeshT* _mesh, const PLY ...@@ -56,7 +56,6 @@ bool FilePLYPlugin::readMeshFileAscii(QString _filename, MeshT* _mesh, const PLY
int dInt; int dInt;
uint du, dv; uint du, dv;
double dx, dy, dz; double dx, dy, dz;
uchar ducr, ducg, ducb;
double alpha; double alpha;
PolyMesh::VertexHandle currentVertex; PolyMesh::VertexHandle currentVertex;
......
Supports Markdown
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