mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
Update of MFC samples for problem "Mouse selection issue is repeatable on all your application"
This commit is contained in:
@@ -82,9 +82,10 @@ void OCC_3dBaseDoc::DragEvent(const Standard_Integer x ,
|
||||
theButtonDownX=x;
|
||||
theButtonDownY=y;
|
||||
}
|
||||
|
||||
if (TheState == 0)
|
||||
myAISContext->Select(theButtonDownX,theButtonDownY,x,y,aView);
|
||||
if (TheState == 1)
|
||||
{
|
||||
myAISContext->Select(theButtonDownX,theButtonDownY,x,y,aView);
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------------------
|
||||
@@ -94,7 +95,7 @@ void OCC_3dBaseDoc::InputEvent(const Standard_Integer x ,
|
||||
const Standard_Integer y ,
|
||||
const Handle(V3d_View)& aView )
|
||||
{
|
||||
myAISContext->Select();
|
||||
myAISContext->Select();
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user