From 88c1ae6a24b69b3b894f70686797b3624804191e Mon Sep 17 00:00:00 2001 From: j-dowsett Date: Sun, 24 Nov 2013 12:09:40 +0000 Subject: [PATCH] Fix to axonometric projection for objects not centred at y = 0 --- src/Mod/Drawing/Gui/TaskOrthoViews.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Drawing/Gui/TaskOrthoViews.cpp b/src/Mod/Drawing/Gui/TaskOrthoViews.cpp index 71c31154c..24d7e34da 100644 --- a/src/Mod/Drawing/Gui/TaskOrthoViews.cpp +++ b/src/Mod/Drawing/Gui/TaskOrthoViews.cpp @@ -310,7 +310,7 @@ void orthoView::calcCentre() if (axo) { - float p[3] = {cx, cy, cz}; + float p[3] = {cx, -cy, cz}; float n_p[3] = {n[0], -n[1], n[2]}; float proj_p[3]; float proj_y[3]; // will be the y axis of the projection