From 7f442c5a3f88b2f30faffacd2da70ad8846084ef Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Sun, 21 Jun 2015 19:09:41 +0200 Subject: [PATCH] Sketcher: Improvement: Continuous Mode - View sketch Perpendicular ================================================================== It allows the view sketch perpendicular button to be active during continuous mode creation (and if activated does not exit the continuous mode). Feature requested: http://forum.freecadweb.org/viewtopic.php?f=10&t=11051&start=30#p92256 --- src/Mod/Sketcher/Gui/Command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/Gui/Command.cpp b/src/Mod/Sketcher/Gui/Command.cpp index b91d61e2e..aefaf42f7 100644 --- a/src/Mod/Sketcher/Gui/Command.cpp +++ b/src/Mod/Sketcher/Gui/Command.cpp @@ -467,7 +467,7 @@ bool CmdSketcherViewSketch::isActive(void) if (doc) { // checks if a Sketch Viewprovider is in Edit and is in no special mode SketcherGui::ViewProviderSketch* vp = dynamic_cast(doc->getInEdit()); - if (vp && vp->getSketchMode() == ViewProviderSketch::STATUS_NONE) + if (vp /*&& vp->getSketchMode() == ViewProviderSketch::STATUS_NONE*/) return true; } return false;