X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkImageCastToUShort.cxx;h=6543e0620e721bbb2e5a3ada7b9177460b4d4b04;hb=daf434343deecc059445cf8f478da95345911896;hp=8e60e7ef2bca13cce733d43157974dc789d0d72d;hpb=cfad95b6e08e6e53846ffcda7fbc5932065f2c47;p=bbtk.git diff --git a/packages/vtk/src/bbvtkImageCastToUShort.cxx b/packages/vtk/src/bbvtkImageCastToUShort.cxx index 8e60e7e..6543e06 100644 --- a/packages/vtk/src/bbvtkImageCastToUShort.cxx +++ b/packages/vtk/src/bbvtkImageCastToUShort.cxx @@ -50,6 +50,7 @@ void ImageCastToUShort::Process() vtkImageData* img = bbGetInputIn(); cast->SetInput(img); cast->SetOutputScalarTypeToUnsignedShort(); + cast->Modified(); cast->Update(); bbSetOutputOut(cast->GetOutput() ); }