Salome HOME
#684 Icon correction should be done only in create operation.
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.cpp
index 5b63142db203f2ed690463c4597ed8c9e45640c0..e4df553d7cbe92289ce95475453f4205dde148df 100644 (file)
@@ -337,6 +337,7 @@ void PartSet_WidgetSketchLabel::showPreviewPlanes()
     // Create Preview
     std::shared_ptr<GeomAPI_Pnt> anOrigin(new GeomAPI_Pnt(0, 0, 0));
     std::shared_ptr<GeomAPI_Dir> aYZDir(new GeomAPI_Dir(1, 0, 0));
+    // -1, not 1 for correct internal sketch coords (issue 898)
     std::shared_ptr<GeomAPI_Dir> aXZDir(new GeomAPI_Dir(0, -1, 0));
     std::shared_ptr<GeomAPI_Dir> aXYDir(new GeomAPI_Dir(0, 0, 1));