X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuImageActor.cxx;h=c016625aaa4adce9f58c5b179487733cf7e057f6;hb=4b2a99534d79424c7892e09160a1488604741064;hp=efe3159914cdb2482de5c0cf2d1613e0a37824e6;hpb=92938893890f824c92778ece02274c860878587c;p=creaMaracasVisu.git 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();