Sketcher: Don't change preselection during box selection

This commit is contained in:
Ian Rees 2014-08-09 10:01:24 +12:00 committed by wmayer
parent 3f236d042a
commit 3a96bb60fe

View File

@ -926,8 +926,10 @@ bool ViewProviderSketch::mouseMove(const SbVec2s &cursorPos, Gui::View3DInventor
snapToGrid(x, y); snapToGrid(x, y);
bool preselectChanged; bool preselectChanged;
if (Mode!=STATUS_SKETCH_DragPoint && Mode!=STATUS_SKETCH_DragCurve && if (Mode != STATUS_SKETCH_DragPoint &&
Mode!=STATUS_SKETCH_DragConstraint) { Mode != STATUS_SKETCH_DragCurve &&
Mode != STATUS_SKETCH_DragConstraint &&
Mode != STATUS_SKETCH_UseRubberBand) {
SoPickedPoint *pp = this->getPointOnRay(cursorPos, viewer); SoPickedPoint *pp = this->getPointOnRay(cursorPos, viewer);