]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for bug IPAL9203 (3.0.0 (15 Jun): Fatal Error "IndexedMap : missing index" after...
authormzn <mzn@opencascade.com>
Wed, 22 Jun 2005 13:18:32 +0000 (13:18 +0000)
committermzn <mzn@opencascade.com>
Wed, 22 Jun 2005 13:18:32 +0000 (13:18 +0000)
src/SVTK/SVTK_Selector.cxx

index 2434515bf1b09cd3777a944b61204df5c25dd562..96690603ea100e6a8a34cfb2c37dca85171d9967 100644 (file)
@@ -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())