X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvtkVOXImageWriter.cxx;h=911091e0a7958abdb7cd3c9b7b04192bb07c8fcc;hb=01ea93b48bce2e9e9a27c487e1b097a4d9f37547;hp=7ffecb5edbe6e4b3671005864ce82b435c31788d;hpb=c234e07e4ef90bb8b08c75ca4f1b3a76055e7859;p=clitk.git diff --git a/vv/vtkVOXImageWriter.cxx b/vv/vtkVOXImageWriter.cxx index 7ffecb5..911091e 100644 --- a/vv/vtkVOXImageWriter.cxx +++ b/vv/vtkVOXImageWriter.cxx @@ -144,6 +144,9 @@ void vtkVOXImageWriter::Write( ) ext[2], ext[3], ext[4], ext[5]); this->GetInput()->UpdateData(); +#elif VTK_MAJOR_VERSION >= 7 && VTK_MINOR_VERSION >= 1 + this->UpdateExtent(ext); + this->Update(); #else this->SetUpdateExtent(ext); this->Update();