mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0030520: VIS - IVtkTools_ShapePicker::GetPickPosition() returns incorrect point
vmoveto and ivtkmoveto commands now print topmost picked 3D point.
This commit is contained in:
@@ -193,6 +193,10 @@ void IVtkTools_ShapePicker::doPickImpl (double* thePos,
|
||||
{
|
||||
myOccPickerAlgo->Pick (thePos[0], thePos[1]);
|
||||
}
|
||||
|
||||
PickPosition[0] = myOccPickerAlgo->TopPickedPoint().X();
|
||||
PickPosition[1] = myOccPickerAlgo->TopPickedPoint().Y();
|
||||
PickPosition[2] = myOccPickerAlgo->TopPickedPoint().Z();
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
|
Reference in New Issue
Block a user