From: Eduardo DAVILA Date: Tue, 24 Nov 2020 09:29:53 +0000 (+0100) Subject: Bug Modified pipeline X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4b2a99534d79424c7892e09160a1488604741064;p=creaMaracasVisu.git Bug Modified pipeline --- diff --git a/bbtk/src/bbmaracasvisuImageActor.cxx b/bbtk/src/bbmaracasvisuImageActor.cxx index efe3159..c016625 100644 --- a/bbtk/src/bbmaracasvisuImageActor.cxx +++ b/bbtk/src/bbmaracasvisuImageActor.cxx @@ -127,6 +127,7 @@ vtkLookupTable *table = vtkLookupTable::New(); imageactor->GetMapper()->SetInput( color->GetOutput() ); #else color->SetInputData( img ); + color->Update(); imageactor->GetMapper()->SetInputData( color->GetOutput() ); #endif imageactor->GetProperty()->SetInterpolationTypeToNearest();