Skip to content

Commit

Permalink
Sketcher: Improvement: Continuous Mode - View sketch Perpendicular
Browse files Browse the repository at this point in the history
==================================================================

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
  • Loading branch information
abdullahtahiriyo authored and wwmayer committed Jun 24, 2015
1 parent 22bcb40 commit 7f442c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Sketcher/Gui/Command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7f442c5

Please sign in to comment.