Commit 0425a9f5 authored by Mickael Savinaud's avatar Mickael Savinaud

TEST: add an update() into the VectorImageToImageListFilter Test to expose an issue

parent bf6086b8
......@@ -98,6 +98,7 @@ int otbVectorImageToImageListFilterIterator(int argc, char * argv[])
VectorImageToImageListFilterType::Pointer filter = VectorImageToImageListFilterType::New();
filter->SetInput(reader->GetOutput());
//filter->Update(); // Why it is needed ?
ImageListIterator itOutput = filter->GetOutput()->Begin();
......@@ -150,6 +151,7 @@ int otbVectorImageToImageListFilterIterator2(int argc, char * argv[])
VectorImageToImageListFilterType::Pointer filter = VectorImageToImageListFilterType::New();
filter->SetInput(reader->GetOutput());
filter->Update(); // Why it is needed ?
ImageListIterator itOutput = filter->GetOutput()->Begin();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment