if (myModule->sketchReentranceMgr()->processMouseReleased(theWnd, theEvent))
return;
+ // if mouse is pressed when it was over view and at release the mouse is out of view, do nothing
+ if (!myIsMouseOverViewProcessed)
+ return;
+
ModuleBase_IWorkshop* aWorkshop = myModule->workshop();
ModuleBase_IViewer* aViewer = aWorkshop->viewer();
if (!aViewer->canDragByMouse())
aNFData->attribute(SketchPlugin_Line::START_ID()));
aNPoint->setValue(aSPoint->x(), aSPoint->y());
SketchPlugin_ConstraintCoincidence::createCoincidenceFeature(sketch(), aSPoint, aNPoint);
-
- aNPoint = std::dynamic_pointer_cast<GeomDataAPI_Point2D>(
- aSFData->attribute(SketchPlugin_Line::END_ID()));
- aNPoint->setValue(aSPoint->x(), aSPoint->y());
-
}
return aFilledAttributeName;
}