From 6f3446d19e53fc9361efafcbc258ae3eaf61dbcb Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 5 Feb 2022 17:56:52 +0100 Subject: [PATCH] Gui: force a redraw of the 3d view when creating it as otherwise on some systems the bottom and right side of the main window becomes black --- src/Gui/Document.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/Document.cpp b/src/Gui/Document.cpp index ad4af07898..d758fab8d1 100644 --- a/src/Gui/Document.cpp +++ b/src/Gui/Document.cpp @@ -1787,6 +1787,7 @@ MDIView *Document::createView(const Base::Type& typeId) view3D->setWindowModified(this->isModified()); view3D->setWindowIcon(QApplication::windowIcon()); view3D->resize(400, 300); + view3D->getViewer()->redraw(); if (!cameraSettings.empty()) { const char *ppReturn = 0;