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
This commit is contained in:
Abdullah Tahiri 2015-06-21 19:09:41 +02:00 committed by wmayer
parent 22bcb40484
commit 7f442c5a3f

View File

@ -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<SketcherGui::ViewProviderSketch*>(doc->getInEdit());
if (vp && vp->getSketchMode() == ViewProviderSketch::STATUS_NONE)
if (vp /*&& vp->getSketchMode() == ViewProviderSketch::STATUS_NONE*/)
return true;
}
return false;