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:
parent
1fc1a207b0
commit
a7400019ce
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user