]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix mistake after branches merging.
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Fri, 10 Jul 2020 21:14:59 +0000 (00:14 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Fri, 10 Jul 2020 21:14:59 +0000 (00:14 +0300)
src/PartSet/PartSet_WidgetSketchLabel.cpp

index 83b82a90449fa7f1fb4736a659c6da9da1511ede..e8244c6542e647d34d66b9c0977146240dce70f1 100644 (file)
@@ -364,9 +364,8 @@ void PartSet_WidgetSketchLabel::updateByPlaneSelected(const ModuleBase_ViewerPrs
   if (aModule) {
     CompositeFeaturePtr aSketch = std::dynamic_pointer_cast<ModelAPI_CompositeFeature>(myFeature);
     aModule->sketchMgr()->previewSketchPlane()->setSizeOfView(aSizeOfView, isSetSizeOfView);
-    // Call of createSketchPlane is managed by events Loop
-    //if (myViewVisible->isChecked())
-    //  aModule->sketchMgr()->previewSketchPlane()->createSketchPlane(aSketch, myWorkshop);
+    if (myViewVisible->isChecked())
+      aModule->sketchMgr()->previewSketchPlane()->createSketchPlane(aSketch, myWorkshop);
   }
   // 2. if the planes were displayed, change the view projection