Sketcher: Include root point in box selections
This commit is contained in:
parent
2a401ee895
commit
8df4a29831
|
@ -1653,6 +1653,9 @@ void ViewProviderSketch::doBoxSelection(const SbVec2s &startPos, const SbVec2s &
|
|||
}
|
||||
}
|
||||
|
||||
pnt0 = proj(Plm.getPosition());
|
||||
if (polygon.Contains(Base::Vector2D(pnt0.x, pnt0.y)))
|
||||
Gui::Selection().addSelection(doc->getName(), sketchObject->getNameInDocument(), "RootPoint");
|
||||
}
|
||||
|
||||
void ViewProviderSketch::updateColor(void)
|
||||
|
|
Loading…
Reference in New Issue
Block a user