diff --git a/src/src/Interaction/ActorDraggableInteractorStyle.cpp b/src/src/Interaction/ActorDraggableInteractorStyle.cpp index 6b401ca..02f2bd8 100644 --- a/src/src/Interaction/ActorDraggableInteractorStyle.cpp +++ b/src/src/Interaction/ActorDraggableInteractorStyle.cpp @@ -501,7 +501,6 @@ void ActorDraggableInteractorStyle::AdjustSyncCrossPoint(double* aPoint) } else{ CrossCursorAnnotationActor::SafeDownCast(dragProp)->Transform(aPoint[0] , aPoint[1] ); - this->Interactor->Render(); } } } diff --git a/src/src/Rendering/Viewer/DICOMImageViewer.cxx b/src/src/Rendering/Viewer/DICOMImageViewer.cxx index 98f66ab..91ebff3 100644 --- a/src/src/Rendering/Viewer/DICOMImageViewer.cxx +++ b/src/src/Rendering/Viewer/DICOMImageViewer.cxx @@ -663,8 +663,7 @@ void DICOMImageViewer::SyncSlicePointSameDirection(double *point) { Renderer->GetActiveCamera()->SetFocalPoint(f); this->UnActiveReferenceLine(); this->InteractorStyle->AdjustSyncCrossPoint(displayPoint); - this->Render(); - UpdateTopLeftCornerInfo(); + UpdateTopLeftCornerInfo();// include render() Slice = ImageMapper->GetSliceNumber(); } }