From 1116f47521cb50f318407a8fd0b845b580ed16bf Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 14 Sep 2015 14:16:43 +0300 Subject: [PATCH] Fix for the issue #898: sketch coordinates on the standard planes. --- src/PartSet/PartSet_WidgetSketchLabel.cpp | 2 +- src/SketchPlugin/SketchPlugin_Sketch.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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 -- 2.39.2