]> Creatis software - clitk.git/blobdiff - vv/vvInteractorStyleNavigator.cxx
Delete widget first, the image data after
[clitk.git] / vv / vvInteractorStyleNavigator.cxx
index e161cc08c24758f0e73dec236e42960e8808101e..4363adf32d991c09cb9f9c07a1243c4072edad5c 100644 (file)
@@ -472,7 +472,9 @@ void vvInteractorStyleNavigator::Pan()
     this->CurrentRenderer->UpdateLightsGeometryToFollowCamera();
   }
 
-  rwi->Render();
+  this->InvokeEvent(vtkCommand::EndInteractionEvent, this);
+
+//  rwi->Render();
 }
 
 //----------------------------------------------------------------------------
@@ -557,6 +559,8 @@ void vvInteractorStyleNavigator::Dolly(double factor)
   }
   this->CurrentRenderer->ResetCameraClippingRange();
   //this->Interactor->Render();
+
+  this->InvokeEvent(vtkCommand::EndInteractionEvent, this);
 }