]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for bug 10502. It was uninitialized pointer fields in SVTK_InteractorStyle.
authorjfa <jfa@opencascade.com>
Fri, 25 Nov 2005 14:16:27 +0000 (14:16 +0000)
committerjfa <jfa@opencascade.com>
Fri, 25 Nov 2005 14:16:27 +0000 (14:16 +0000)
src/SVTK/SVTK_InteractorStyle.cxx

index 6564c0007d5200ebc078dff7062671ccae9f6991..4e8d08df13f1c5b8e6c6609088d300b9f7b09054 100644 (file)
@@ -120,7 +120,10 @@ vtkStandardNewMacro(SVTK_InteractorStyle);
 SVTK_InteractorStyle
 ::SVTK_InteractorStyle() 
 {
+  myPreViewActor = NULL;
+  myInteractor = NULL;
   myViewWindow = NULL;
+  myGUIWindow = NULL;
   this->MotionFactor = 10.0;
   this->State = VTK_INTERACTOR_STYLE_CAMERA_NONE;
   this->RadianToDegree = 180.0 / vtkMath::Pi();