From: ouv Date: Fri, 12 Apr 2013 10:15:06 +0000 (+0000) Subject: Issue 0051888: TC7.2.0: Fatal error on study closing. X-Git-Tag: before_mergefrom_V6_main_12Apr13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=870a18af6f379af110ba07d95979f0cf0ea0d362;p=modules%2Fvisu.git Issue 0051888: TC7.2.0: Fatal error on study closing. --- 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; };