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

index 3dffbae506e6b816f652ec86a826b5c5ef5b915a..fa49432028ae86aef5f16de062b80624cac9dd7b 100644 (file)
@@ -134,7 +134,7 @@ SVTK_Selector*
 SVTK_GenericRenderWindowInteractor
 ::GetSelector()
 {
-  return mySelector.GetPointer();
+  return mySelector;
 }
 
 /*!
index 9bb7cbfcddc8aa9077e532c507ef32125d10cfce..06c0241e8efae8ec2708ab083dbde0cb32e5e19e 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.
 };