X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_WidgetSketchLabel.cpp;h=e28724ddc37d179bc79105bfd74af476d9c6ac96;hb=9af20d7ec247473224142e202f5f8bcbc8733f65;hp=e0e33ddfef811db5d381cac98449ac760f96fc66;hpb=b5773bfe1a3d046c432931aea033b302406bcbc1;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_WidgetSketchLabel.cpp b/src/PartSet/PartSet_WidgetSketchLabel.cpp index e0e33ddfe..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,7 +337,8 @@ 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)); - std::shared_ptr aXZDir(new GeomAPI_Dir(0, 1, 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)); std::vector aYZRGB, aXZRGB, aXYRGB;