From: dmv Date: Mon, 24 Nov 2008 09:50:54 +0000 (+0000) Subject: Undo the previous changes because of regression ("Hide" doesn't work for "sinus"... X-Git-Tag: V5_1_0rc2~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ed9f0117b9c92366efc461ebd7918163b150c797;p=modules%2Fvisu.git Undo the previous changes because of regression ("Hide" doesn't work for "sinus" object) --- diff --git a/src/VISUGUI/VisuGUI_Tools.cxx b/src/VISUGUI/VisuGUI_Tools.cxx index 73a6d4a8..1c1cd773 100644 --- a/src/VISUGUI/VisuGUI_Tools.cxx +++ b/src/VISUGUI/VisuGUI_Tools.cxx @@ -1006,7 +1006,7 @@ namespace VISU for ( int i = 0; i < clist.count(); i++ ) { tmpCurve = dynamic_cast( clist.at( i ) ); if (tmpCurve && tmpCurve->hasIO() && - theCurve->GetEntry() != tmpCurve->getIO()->getEntry()) { + theCurve->GetEntry() == tmpCurve->getIO()->getEntry()) { plotCurve = tmpCurve; break; }