X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvAnimatedGIFWriter.cxx;h=d72f253ecfa4f4d397eef6207faead81fb82bd45;hb=HEAD;hp=026ebe091dd877b5f3547d6c1f6f6df85e2153f9;hpb=41796e945c3027937cedda97d1762bc0a5193c3c;p=clitk.git diff --git a/vv/vvAnimatedGIFWriter.cxx b/vv/vvAnimatedGIFWriter.cxx index 026ebe0..d72f253 100644 --- a/vv/vvAnimatedGIFWriter.cxx +++ b/vv/vvAnimatedGIFWriter.cxx @@ -47,7 +47,7 @@ void vvAnimatedGIFWriter::Write() int *wExtent = this->GetInput()->GetWholeExtent(); this->GetInput()->SetUpdateExtent(wExtent); this->GetInput()->Update(); -#elif VTK_MAJOR_VERSION >= 7 && VTK_MINOR_VERSION >= 1 +#elif VTK_MAJOR_VERSION >= 8 || (VTK_MAJOR_VERSION == 7 && VTK_MINOR_VERSION >= 1) this->UpdateInformation(); int *wExtent = this->GetInput()->GetInformation()->Get(vtkDataObject::DATA_EXTENT()); this->UpdateExtent(wExtent);