]> SALOME platform Git repositories - modules/hexablock.git/commitdiff
Salome HOME
Minor change according to fix done in GUI module for issue IPAL52528 V7_5_0b1
authorvsr <vsr@opencascade.com>
Thu, 23 Oct 2014 12:59:25 +0000 (16:59 +0400)
committervsr <vsr@opencascade.com>
Thu, 23 Oct 2014 12:59:25 +0000 (16:59 +0400)
src/HEXABLOCKGUI/HEXABLOCKGUI.cxx
src/HEXABLOCKGUI/HEXABLOCKGUI.hxx

index dcc778740f815f129c63c604f6477265b320de0e..294c5e449d2c0b62713268ae4628178e0c2fc13e 100755 (executable)
@@ -452,7 +452,7 @@ void HEXABLOCKGUI::addInStudy(QMap<QString, TopoDS_Shape>& topo_shapes,
     SOCC_Prs* prs = getOccPrs(currentDocGView);
     if (prs == NULL)
     {
-        prs = new SOCC_Prs();
+        prs = new SOCC_Prs(0);
         isNewPrs = true;
     }
 
index b8a460fa052ec9b1755042c00100b1d6a80eced3..0ed4935a2ed85e7c38b6a4cec2f24cd120e2e062 100755 (executable)
@@ -332,7 +332,7 @@ private:
       if (docGView == NULL)
           return NULL;
       if (!occPrs.contains(docGView))
-          occPrs[docGView] = new SOCC_Prs();
+          occPrs[docGView] = new SOCC_Prs(0);
       return occPrs[docGView];
   }