mirror of https://github.com/vitalif/openscad
cleanups, tab fixes, remove redundant code
parent
30fd8b250a
commit
8a42158485
|
@ -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.xmax()-bb.xmin() );
|
||||||
bbox_size.push_back( bb.ymax()-bb.ymin() );
|
bbox_size.push_back( bb.ymax()-bb.ymin() );
|
||||||
bbox_size.push_back( bb.zmax()-bb.zmin() );
|
bbox_size.push_back( bb.zmax()-bb.zmin() );
|
||||||
|
|
||||||
int newsizemax_index = 0;
|
int newsizemax_index = 0;
|
||||||
for (int i=0;i<N.dim;i++) {
|
for (int i=0;i<N.dim;i++) {
|
||||||
if (node.newsize[i]) {
|
if (node.newsize[i]) {
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace PlatformUtils {
|
namespace PlatformUtils {
|
||||||
|
|
||||||
std::string documentsPath();
|
std::string documentsPath();
|
||||||
std::string libraryPath();
|
std::string libraryPath();
|
||||||
bool createLibraryPath();
|
bool createLibraryPath();
|
||||||
|
|
|
@ -1826,14 +1826,12 @@ MainWindow::helpManual()
|
||||||
|
|
||||||
void MainWindow::helpLibrary()
|
void MainWindow::helpLibrary()
|
||||||
{
|
{
|
||||||
std::string basicinfo = PlatformUtils::info();
|
QString info( PlatformUtils::info().c_str() );
|
||||||
QString info( basicinfo.c_str() );
|
info += QString( qglview->getRendererInfo().c_str() );
|
||||||
info += QString(qglview->getRendererInfo().c_str());
|
|
||||||
|
|
||||||
if (!this->openglbox) {
|
if (!this->openglbox) {
|
||||||
this->openglbox = new QMessageBox(QMessageBox::Information,
|
this->openglbox = new QMessageBox(QMessageBox::Information,
|
||||||
"OpenGL Info", "OpenSCAD Detailed Library and Build Information",
|
"OpenGL Info", "OpenSCAD Detailed Library and Build Information",
|
||||||
QMessageBox::Ok, this);
|
QMessageBox::Ok, this);
|
||||||
}
|
}
|
||||||
this->openglbox->setDetailedText( info );
|
this->openglbox->setDetailedText( info );
|
||||||
this->openglbox->show();
|
this->openglbox->show();
|
||||||
|
|
Loading…
Reference in New Issue