diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc index 8da4649f..ec013153 100644 --- a/src/CGALEvaluator.cc +++ b/src/CGALEvaluator.cc @@ -215,7 +215,6 @@ CGAL_Nef_polyhedron CGALEvaluator::applyResize(const CgaladvNode &node) bbox_size.push_back( bb.xmax()-bb.xmin() ); bbox_size.push_back( bb.ymax()-bb.ymin() ); bbox_size.push_back( bb.zmax()-bb.zmin() ); - int newsizemax_index = 0; for (int i=0;i namespace PlatformUtils { + std::string documentsPath(); std::string libraryPath(); bool createLibraryPath(); diff --git a/src/mainwin.cc b/src/mainwin.cc index 3104ed3d..7bcf9268 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -1826,14 +1826,12 @@ MainWindow::helpManual() void MainWindow::helpLibrary() { - std::string basicinfo = PlatformUtils::info(); - QString info( basicinfo.c_str() ); - info += QString(qglview->getRendererInfo().c_str()); - + QString info( PlatformUtils::info().c_str() ); + info += QString( qglview->getRendererInfo().c_str() ); if (!this->openglbox) { this->openglbox = new QMessageBox(QMessageBox::Information, - "OpenGL Info", "OpenSCAD Detailed Library and Build Information", - QMessageBox::Ok, this); + "OpenGL Info", "OpenSCAD Detailed Library and Build Information", + QMessageBox::Ok, this); } this->openglbox->setDetailedText( info ); this->openglbox->show();