From a7400019ce5fc3d26328a95c7286fa4133e371c4 Mon Sep 17 00:00:00 2001 From: kgv Date: Sat, 6 Jun 2020 19:13:28 +0300 Subject: [PATCH] 0031599: Visualization - when using AIS_Manipulator, the scene rotates at the same time AIS_ViewController::HandleViewEvents() - reverted order of handleMoveTo() and handleCameraActions() events. --- src/AIS/AIS_ViewController.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1