From: mzn Date: Wed, 22 Jun 2005 13:18:32 +0000 (+0000) Subject: Fix for bug IPAL9203 (3.0.0 (15 Jun): Fatal Error "IndexedMap : missing index" after... X-Git-Tag: T3_0_0_a4~50 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a86ec1794f1da14949936257c9f95b8c56f6651e;p=modules%2Fgui.git Fix for bug IPAL9203 (3.0.0 (15 Jun): Fatal Error "IndexedMap : missing index" after trying select elements in 3D). --- diff --git a/src/SVTK/SVTK_Selector.cxx b/src/SVTK/SVTK_Selector.cxx index 2434515bf..96690603e 100644 --- a/src/SVTK/SVTK_Selector.cxx +++ b/src/SVTK/SVTK_Selector.cxx @@ -242,7 +242,7 @@ SVTK_SelectorDef if(!theIsModeShift) aMapIndex.Clear(); - for(int i = 0, iEnd = theIndices.Extent(); i < iEnd; i++) + for(int i = 1, iEnd = theIndices.Extent(); i <= iEnd; i++) aMapIndex.Add(theIndices(i)); if(aMapIndex.IsEmpty())