diff --git a/Code/Visualization/otbLayerBasedModel.txx b/Code/Visualization/otbLayerBasedModel.txx index a7070a68e4c959b104553fb0b462cac9faec8eb8..deab971ca671f45e7c1bc21aaff13697c18b70f2 100644 --- a/Code/Visualization/otbLayerBasedModel.txx +++ b/Code/Visualization/otbLayerBasedModel.txx @@ -124,6 +124,7 @@ LayerBasedModel<TLayer> found = true; } ++index; + ++it; } if(found)