1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +03:00

0031599: Visualization - when using AIS_Manipulator, the scene rotates at the same time

AIS_ViewController::HandleViewEvents() - reverted order of handleMoveTo() and handleCameraActions() events.
This commit is contained in:
kgv 2020-06-06 19:13:28 +03:00 committed by bugmaster
parent 1fc1a207b0
commit a7400019ce

View File

@ -2935,11 +2935,11 @@ void AIS_ViewController::HandleViewEvents (const Handle(AIS_InteractiveContext)&
{
theView->View()->SetupXRPosedCamera();
}
handleMoveTo (theCtx, theView);
handleCameraActions (theCtx, theView, aWalk);
theView->View()->SynchronizeXRPosedToBaseCamera(); // handleCameraActions() may modify posed camera position - copy this modifications also to the base camera
handleXRPresentations (theCtx, theView);
handleMoveTo (theCtx, theView);
handleViewRedraw (theCtx, theView);
theView->View()->UnsetXRPosedCamera();