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:
parent
22bcb40484
commit
7f442c5a3f
|
@ -467,7 +467,7 @@ bool CmdSketcherViewSketch::isActive(void)
|
||||||
if (doc) {
|
if (doc) {
|
||||||
// checks if a Sketch Viewprovider is in Edit and is in no special mode
|
// checks if a Sketch Viewprovider is in Edit and is in no special mode
|
||||||
SketcherGui::ViewProviderSketch* vp = dynamic_cast<SketcherGui::ViewProviderSketch*>(doc->getInEdit());
|
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 true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user