From: Artem Zhidkov Date: Fri, 10 Jul 2020 21:14:59 +0000 (+0300) Subject: Fix mistake after branches merging. X-Git-Tag: V9_6_0a1~61 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ac4cd960b238acc086206db688be0563e9893490;p=modules%2Fshaper.git Fix mistake after branches merging. --- diff --git a/src/PartSet/PartSet_WidgetSketchLabel.cpp b/src/PartSet/PartSet_WidgetSketchLabel.cpp index 83b82a904..e8244c654 100644 --- a/src/PartSet/PartSet_WidgetSketchLabel.cpp +++ b/src/PartSet/PartSet_WidgetSketchLabel.cpp @@ -364,9 +364,8 @@ void PartSet_WidgetSketchLabel::updateByPlaneSelected(const ModuleBase_ViewerPrs if (aModule) { CompositeFeaturePtr aSketch = std::dynamic_pointer_cast(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