Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optimization of Viewer performance up to two times
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_WidgetSketchLabel.cpp
diff --git
a/src/PartSet/PartSet_WidgetSketchLabel.cpp
b/src/PartSet/PartSet_WidgetSketchLabel.cpp
index e4df553d7cbe92289ce95475453f4205dde148df..e28724ddc37d179bc79105bfd74af476d9c6ac96 100644
(file)
--- a/
src/PartSet/PartSet_WidgetSketchLabel.cpp
+++ b/
src/PartSet/PartSet_WidgetSketchLabel.cpp
@@
-181,7
+181,7
@@
void PartSet_WidgetSketchLabel::updateByPlaneSelected(const ModuleBase_ViewerPrs
// 6. Update sketcher actions
XGUI_ActionsMgr* anActMgr = workshop()->actionsMgr();
anActMgr->update();
// 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
}
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);
connect(workshop()->selector(), SIGNAL(selectionChanged()), this, SLOT(onSelectionChanged()));
activateFilters(true);
- aDisp->updateViewer();
+
//VSV
aDisp->updateViewer();
}
void PartSet_WidgetSketchLabel::deactivate()
}
void PartSet_WidgetSketchLabel::deactivate()