From: vsv Date: Wed, 1 Jun 2022 15:27:23 +0000 (+0300) Subject: Fix for Sketcher in Part set mode X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR29098;p=modules%2Fshaper.git Fix for Sketcher in Part set mode --- diff --git a/src/SHAPERGUI/SHAPERGUI.cpp b/src/SHAPERGUI/SHAPERGUI.cpp index 0e8898650..17d13f538 100644 --- a/src/SHAPERGUI/SHAPERGUI.cpp +++ b/src/SHAPERGUI/SHAPERGUI.cpp @@ -1378,10 +1378,10 @@ void SHAPERGUI::updateInfoPanel() if (aOpList.size() > 0) isSketcher = (aOpList.first() == "Sketch"); - if (aActiveDoc == aModuleDoc) // Part set mode - fillPartSetInfoPanel(aInfoPanel); - else if (isSketcher) // Sketcher mode + if (isSketcher) // Sketcher mode fillSketcherInfoPanel(aInfoPanel); - else // Part mode + else if (aActiveDoc == aModuleDoc) // Part set mode + fillPartSetInfoPanel(aInfoPanel); + else fillPartInfoPanel(aInfoPanel); }