X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchLabel.cpp;h=e28724ddc37d179bc79105bfd74af476d9c6ac96;hb=9af20d7ec247473224142e202f5f8bcbc8733f65;hp=5b63142db203f2ed690463c4597ed8c9e45640c0;hpb=1116f47521cb50f318407a8fd0b845b580ed16bf;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchLabel.cpp b/src/PartSet/PartSet_WidgetSketchLabel.cpp index 5b63142db..e28724ddc 100644 --- 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(); - myWorkshop->viewer()->update(); + //VSV myWorkshop->viewer()->update(); } std::shared_ptr 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() @@ -337,6 +337,7 @@ void PartSet_WidgetSketchLabel::showPreviewPlanes() // Create Preview std::shared_ptr anOrigin(new GeomAPI_Pnt(0, 0, 0)); std::shared_ptr aYZDir(new GeomAPI_Dir(1, 0, 0)); + // -1, not 1 for correct internal sketch coords (issue 898) std::shared_ptr aXZDir(new GeomAPI_Dir(0, -1, 0)); std::shared_ptr aXYDir(new GeomAPI_Dir(0, 0, 1));