diff --git a/src/Gui/View3DPy.cpp b/src/Gui/View3DPy.cpp index 434b22574..9ef5e9ccb 100644 --- a/src/Gui/View3DPy.cpp +++ b/src/Gui/View3DPy.cpp @@ -539,6 +539,10 @@ Py::Object View3DInventorPy::saveImage(const Py::Tuple& args) return Py::None(); } catch (const Base::Exception& e) { + Base::Console().Log("Try disabling the use of pbuffers, set the environment variables\n" + "COIN_GLXGLUE_NO_PBUFFERS=1\n" + "COIN_GLXGLUE_NO_GLX13_PBUFFERS=1\n" + "and re-run the application.\n"); throw Py::Exception(e.what()); } catch (const std::exception& e) { diff --git a/src/Mod/Part/Gui/TaskShapeBuilder.cpp b/src/Mod/Part/Gui/TaskShapeBuilder.cpp index a3c2f3bfa..d7d2dbacf 100644 --- a/src/Mod/Part/Gui/TaskShapeBuilder.cpp +++ b/src/Mod/Part/Gui/TaskShapeBuilder.cpp @@ -283,7 +283,7 @@ void ShapeBuilderWidget::createShell() cmd = QString::fromAscii( "_=Part.Shell(%1)\n" "if _.isNull(): raise Exception('Failed to create shell')\n" - "App.ActiveDocument.addObject('Part::Feature','Shell').Shape=_\n" + "App.ActiveDocument.addObject('Part::Feature','Shell').Shape=_.removeSplitter()\n" "del _\n" ).arg(list); @@ -317,7 +317,7 @@ void ShapeBuilderWidget::createSolid() "if shell.ShapeType != 'Shell': raise Exception('Part object is not a shell')\n" "_=Part.Solid(shell)\n" "if _.isNull(): raise Exception('Failed to create solid')\n" - "App.ActiveDocument.addObject('Part::Feature','Solid').Shape=_\n" + "App.ActiveDocument.addObject('Part::Feature','Solid').Shape=_.removeSplitter()\n" "del _\n" ).arg(line);