small fixes and update vcglib

This commit is contained in:
alemuntoni 2020-04-17 16:44:52 +02:00
parent 4148e45dff
commit f0a570d7d5
3 changed files with 3 additions and 5 deletions

View File

@ -106,10 +106,8 @@ int main(int argc, char *argv[])
void handleCriticalError(const MLException& exc){
bool openGLProblem = false;
QString message = "MeshLab was not able to start.\n";
if (QString::fromStdString(exc.what()).contains("GLEW initialization failed")){
openGLProblem = true;
message.append("Please check your Graphics drivers.\n");
}
message.append("\nError: " + QString::fromStdString(exc.what()));
@ -122,7 +120,7 @@ void handleCriticalError(const MLException& exc){
#ifdef _WIN32
QCheckBox *cb = nullptr;
if (openGLProblem) {
if (QString::fromStdString(exc.what()).contains("GLEW initialization failed")) {
cb = new QCheckBox("Use CPU OpenGL and restart MeshLab");
messageBox.setCheckBox(cb);
}

View File

@ -175,7 +175,7 @@ void ColladaIOPlugin::initPreOpenParameter(const QString &/*format*/, const QStr
qDebug("Node %i geom id = '%s'",i,qUtf8Printable(idVal));
}
parlst.addParam(new RichEnum("geomnode",0, idList, tr("geometry nodes"), tr("dsasdfads")));
qDebug("Time elapsed: %d ms", t.elapsed());
qDebug("Time elapsed: %llu ms", t.elapsed());
}

2
vcglib

@ -1 +1 @@
Subproject commit e9ea05be0201342d54ada396434e8af3ffdac28a
Subproject commit f7871eed2d54bee704b9f66dc538c921602323cb