From: mpv Date: Mon, 14 Sep 2015 11:16:43 +0000 (+0300) Subject: Fix for the issue #898: sketch coordinates on the standard planes. X-Git-Tag: V_1.4.0~74 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1116f47521cb50f318407a8fd0b845b580ed16bf;p=modules%2Fshaper.git Fix for the issue #898: sketch coordinates on the standard planes. --- diff --git a/src/PartSet/PartSet_WidgetSketchLabel.cpp b/src/PartSet/PartSet_WidgetSketchLabel.cpp index e0e33ddfe..5b63142db 100644 --- a/src/PartSet/PartSet_WidgetSketchLabel.cpp +++ b/src/PartSet/PartSet_WidgetSketchLabel.cpp @@ -337,7 +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)); - std::shared_ptr aXZDir(new GeomAPI_Dir(0, 1, 0)); + 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; diff --git a/src/SketchPlugin/SketchPlugin_Sketch.cpp b/src/SketchPlugin/SketchPlugin_Sketch.cpp index 2a5dd0944..972c95693 100644 --- a/src/SketchPlugin/SketchPlugin_Sketch.cpp +++ b/src/SketchPlugin/SketchPlugin_Sketch.cpp @@ -9,12 +9,9 @@ #include #include -#include #include #include -#include - #include #include