From e83e86c1657ea5330a51db9adaef8c2a5ea1a33a Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 26 Jun 2015 19:05:44 +0300 Subject: [PATCH] Issue #648: Preserve selection state --- src/PartSet/PartSet_SketcherMgr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 099bd16b3..25db60f12 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -317,6 +317,7 @@ void PartSet_SketcherMgr::onMousePressed(ModuleBase_IViewWindow* theWnd, QMouseE ModuleBase_IWorkshop* aWorkshop = myModule->workshop(); ModuleBase_IViewer* aViewer = aWorkshop->viewer(); + myPreviousSelectionEnabled = aViewer->isSelectionEnabled(); if (!aViewer->canDragByMouse()) return; -- 2.39.2