From 870a18af6f379af110ba07d95979f0cf0ea0d362 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 12 Apr 2013 10:15:06 +0000 Subject: [PATCH] Issue 0051888: TC7.2.0: Fatal error on study closing. --- src/VISUGUI/VisuGUI_Sweep.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI_Sweep.h b/src/VISUGUI/VisuGUI_Sweep.h index 2b6b4452..b79b1463 100644 --- a/src/VISUGUI/VisuGUI_Sweep.h +++ b/src/VISUGUI/VisuGUI_Sweep.h @@ -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; }; -- 2.39.2