From: kgv Date: Sat, 6 Jun 2020 16:13:28 +0000 (+0300) Subject: 0031599: Visualization - when using AIS_Manipulator, the scene rotates at the same... X-Git-Tag: V7_5_0_beta~182 X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff_plain;h=a7400019ce5fc3d26328a95c7286fa4133e371c4 0031599: Visualization - when using AIS_Manipulator, the scene rotates at the same time AIS_ViewController::HandleViewEvents() - reverted order of handleMoveTo() and handleCameraActions() events. --- diff --git a/src/AIS/AIS_ViewController.cxx b/src/AIS/AIS_ViewController.cxx index 69eaa783f2..c377d82e91 100644 --- a/src/AIS/AIS_ViewController.cxx +++ b/src/AIS/AIS_ViewController.cxx @@ -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();