Archived issue #0031599
Visualization - when using AIS_Manipulator, the scene rotates at the same time
Description
When using the vmanipulator command with the startTransform / transform / stopTransform flags, the manipulator works correctly, but if you perform the same actions with the mouse, the whole scene rotates with the local transformation.
The reason is that #0029384 swapped order of handleCameraActions() and handleMoveTo() actions. It is necessary fixing regression, as well as ensuring that dragging works properly in XR.
The reason is that #0029384 swapped order of handleCameraActions() and handleMoveTo() actions. It is necessary fixing regression, as well as ensuring that dragging works properly in XR.
void AIS_ViewController::HandleViewEvents (const Handle(AIS_InteractiveContext)& theCtx,
const Handle(V3d_View)& theView)
{
- handleMoveTo (theCtx, theView);
const bool wasImmediateUpdate = theView->SetImmediateUpdate (false);
const AIS_WalkDelta aWalk = FetchNavigationKeys (1.0, 1.0);
handleCameraActions (theCtx, theView, aWalk);
+ handleMoveTo (theCtx, theView);
Public activity
3 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Commenter 3.
[revision removed]
Detailed log of new commits:
Author: Commenter 3
Date: Sat Jun 6 19:13:28 2020 +0300
0031599: Visualization - when using AIS_Manipulator, the scene rotates at the same time
AIS_ViewController::HandleViewEvents() - reverted order of handleMoveTo() and handleCameraActions() events.
[revision removed]
Detailed log of new commits:
Author: Commenter 3
Date: Sat Jun 6 19:13:28 2020 +0300
0031599: Visualization - when using AIS_Manipulator, the scene rotates at the same time
AIS_ViewController::HandleViewEvents() - reverted order of handleMoveTo() and handleCameraActions() events.
Please raise the patch in OCCT branch CR31599.
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR31599-master-KGV/
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR31599-master-KGV/
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]