]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix of uninitialized memory using
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 18 Sep 2015 08:22:57 +0000 (11:22 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 18 Sep 2015 08:22:57 +0000 (11:22 +0300)
src/XGUI/XGUI_Displayer.cpp

index cb24aa4805330e5ddee73462098a363f59af5458..5a61d00179ed3ee22c41d2325f06be7a9272cb3e 100644 (file)
@@ -96,7 +96,7 @@ QString qIntListInfo(const QIntList& theValues, const QString& theSeparator = QS
 }
 
 XGUI_Displayer::XGUI_Displayer(XGUI_Workshop* theWorkshop)
-  : myWorkshop(theWorkshop)
+  : myWorkshop(theWorkshop), myEnableUpdateViewer(true)
 {
   enableUpdateViewer(true);
   myCustomPrs = std::shared_ptr<GeomAPI_ICustomPrs>(new XGUI_CustomPrs());