summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CGALEvaluator.cc1
-rw-r--r--src/PlatformUtils.h1
-rw-r--r--src/mainwin.cc10
3 files changed, 5 insertions, 7 deletions
diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc
index 8da4649..ec01315 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<N.dim;i++) {
if (node.newsize[i]) {
diff --git a/src/PlatformUtils.h b/src/PlatformUtils.h
index f718bb2..18dd5fa 100644
--- a/src/PlatformUtils.h
+++ b/src/PlatformUtils.h
@@ -4,6 +4,7 @@
#include <string>
namespace PlatformUtils {
+
std::string documentsPath();
std::string libraryPath();
bool createLibraryPath();
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 3104ed3..7bcf926 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();
contact: Jan Huwald // Impressum