From ac4cd960b238acc086206db688be0563e9893490 Mon Sep 17 00:00:00 2001 From: Artem Zhidkov Date: Sat, 11 Jul 2020 00:14:59 +0300 Subject: [PATCH] Fix mistake after branches merging. --- src/PartSet/PartSet_WidgetSketchLabel.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.2