From ace71bab5857d41cd674081ebd56895dab962528 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 29 Apr 2016 18:13:25 +0200 Subject: [PATCH] + fix bug in PolyPickerSelection to get an updated rendering content when changing to Image mode --- src/Gui/MouseSelection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/MouseSelection.cpp b/src/Gui/MouseSelection.cpp index fd0167815c..7e817b1aba 100644 --- a/src/Gui/MouseSelection.cpp +++ b/src/Gui/MouseSelection.cpp @@ -266,6 +266,7 @@ void PolyPickerSelection::initialize() polyline.setViewer(_pcView3D); _pcView3D->addGraphicsItem(&polyline); + _pcView3D->redraw(); // needed to get an up-to-date image _pcView3D->setRenderType(View3DInventorViewer::Image); _pcView3D->redraw();