]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Issue 0051888: TC7.2.0: Fatal error on study closing. before_mergefrom_V6_main_12Apr13 mergefrom_V6_main_12Apr13
authorouv <ouv@opencascade.com>
Fri, 12 Apr 2013 10:15:06 +0000 (10:15 +0000)
committerouv <ouv@opencascade.com>
Fri, 12 Apr 2013 10:15:06 +0000 (10:15 +0000)
src/VISUGUI/VisuGUI_Sweep.h

index 2b6b44523c2a93c35e8887635140c49231ff9233..b79b14632ae4d6ad5117470013efc44d5140d2f1 100644 (file)
@@ -128,7 +128,11 @@ private:
   SVTK_ViewWindow*  myViewWindow;
 
   VISU_Actor*       myActor;
-  SALOME::GenericObjPtr< VISU::ColoredPrs3d_i > myColoredPrs3d;
+
+  // smart pointer is useless here, simple pointer used instead
+  // (fix of the bug 0051888: TC7.2.0: Fatal error on study closing)
+  //SALOME::GenericObjPtr< VISU::ColoredPrs3d_i > myColoredPrs3d;
+  VISU::ColoredPrs3d_i* myColoredPrs3d;
 };