]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for Sketcher in Part set mode CR29098
authorvsv <vsv@opencascade.com>
Wed, 1 Jun 2022 15:27:23 +0000 (18:27 +0300)
committervsv <vsv@opencascade.com>
Wed, 1 Jun 2022 15:40:25 +0000 (18:40 +0300)
src/SHAPERGUI/SHAPERGUI.cpp

index 0e889865096ab7b70100027cc3c4222bf6f614d8..17d13f5386717b4769fc45b4618ca1b72546e2a0 100644 (file)
@@ -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);
 }