]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for bug PAL20022 (Crash of application on Close without saving operation). V4_1_4a1
authormzn <mzn@opencascade.com>
Thu, 18 Sep 2008 11:43:42 +0000 (11:43 +0000)
committermzn <mzn@opencascade.com>
Thu, 18 Sep 2008 11:43:42 +0000 (11:43 +0000)
src/SVTK/SVTK_GenericRenderWindowInteractor.cxx
src/SVTK/SVTK_GenericRenderWindowInteractor.h

index ecb406b1ba0a67a6e4a4fd3fe92531f23cc29e63..4c020695fe373958eb53d61aff22019deb1c0e48 100644 (file)
@@ -133,7 +133,7 @@ SVTK_Selector*
 SVTK_GenericRenderWindowInteractor
 ::GetSelector()
 {
-  return mySelector.GetPointer();
+  return mySelector;
 }
 
 /*!
index ff5b6cb713d1549aab1c9aa7e87d80c3dd40c651..0f46693e1862d05ded0e36462d42d8292524b33c 100644 (file)
@@ -122,7 +122,7 @@ class SVTK_EXPORT SVTK_GenericRenderWindowInteractor: public QVTK_GenericRenderW
   SVTK_GenericRenderWindowInteractor();
   ~SVTK_GenericRenderWindowInteractor();
 
-  vtkSmartPointer<SVTK_Selector> mySelector; //!< Keeps a pointer to SVTK_Selector
+  SVTK_Selector* mySelector; //!< Keeps a pointer to SVTK_Selector
   QWidget* myRenderWidget; //!< Keeps a pointer to QWidget, where vtkRenderWindow maps to.
 };