From: vsr Date: Thu, 23 Oct 2014 12:59:25 +0000 (+0400) Subject: Minor change according to fix done in GUI module for issue IPAL52528 X-Git-Tag: V7_5_0b1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f48eb8d0b39f68075001ecc5609b1bb3c34cdee1;p=modules%2Fhexablock.git Minor change according to fix done in GUI module for issue IPAL52528 --- diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx index dcc7787..294c5e4 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx @@ -452,7 +452,7 @@ void HEXABLOCKGUI::addInStudy(QMap& topo_shapes, SOCC_Prs* prs = getOccPrs(currentDocGView); if (prs == NULL) { - prs = new SOCC_Prs(); + prs = new SOCC_Prs(0); isNewPrs = true; } diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI.hxx b/src/HEXABLOCKGUI/HEXABLOCKGUI.hxx index b8a460f..0ed4935 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI.hxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI.hxx @@ -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]; }