From: akl Date: Mon, 28 Feb 2011 09:00:21 +0000 (+0000) Subject: IPAL22292 (Gauss Points doesn't appear in Clipping Planes after reload file): GaussPo... X-Git-Tag: V6_main_20110301~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c25714a9012243bcabcf495e35255a0d01a913a8;p=modules%2Fvisu.git IPAL22292 (Gauss Points doesn't appear in Clipping Planes after reload file): GaussPoints presentation was not taken into account in 'GetPrs3dList' method because of 'theGP' flag is 'false' by default. --- diff --git a/src/VISUGUI/VisuGUI_ClippingPanel.cxx b/src/VISUGUI/VisuGUI_ClippingPanel.cxx index 9a8ee781..b841cce0 100644 --- a/src/VISUGUI/VisuGUI_ClippingPanel.cxx +++ b/src/VISUGUI/VisuGUI_ClippingPanel.cxx @@ -366,7 +366,7 @@ QStringList VisuGUI_ClippingPanel::getPrsList(_PTR(Study) theStudy, _PTR(ChildIterator) aIter = theStudy->NewChildIterator(theObject); for (aIter->InitEx(true); aIter->More(); aIter->Next()) { _PTR(SObject) aSObject = aIter->Value(); - std::vector aSTLList = VISU::GetPrs3dList(myModule, aSObject); + std::vector aSTLList = VISU::GetPrs3dList(myModule, aSObject, true /* enable GaussPoints */); for (int i = 0; i < aSTLList.size(); i++) { VISU::Prs3d_i* aPrs = aSTLList[i]; if (!aList.contains(aPrs->GetEntry().c_str()))