Salome HOME
Optimization of Viewer performance up to two times
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.cpp
index e4df553d7cbe92289ce95475453f4205dde148df..e28724ddc37d179bc79105bfd74af476d9c6ac96 100644 (file)
@@ -181,7 +181,7 @@ void PartSet_WidgetSketchLabel::updateByPlaneSelected(const ModuleBase_ViewerPrs
   // 6. Update sketcher actions
   XGUI_ActionsMgr* anActMgr = workshop()->actionsMgr();
   anActMgr->update();
-  myWorkshop->viewer()->update();
+  //VSV myWorkshop->viewer()->update();
 }
 
 std::shared_ptr<GeomAPI_Pln> PartSet_WidgetSketchLabel::plane() const
@@ -289,7 +289,7 @@ void PartSet_WidgetSketchLabel::activateCustom()
   connect(workshop()->selector(), SIGNAL(selectionChanged()), this, SLOT(onSelectionChanged()));
   activateFilters(true);
 
-  aDisp->updateViewer();
+  //VSV aDisp->updateViewer();
 }
 
 void PartSet_WidgetSketchLabel::deactivate()