X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FcpPluginsIO%2FMeshWriter.cxx;fp=plugins%2FcpPluginsIO%2FMeshWriter.cxx;h=e69fc411cc54382bd5a9ff2d4ea8a512e3b2cf36;hb=00d030e4e10fea579b427297027e3ac37ff960b6;hp=7cddc75a02b5a683cb00f36c71cb465ff531c16d;hpb=e6bef8234ffd9030c68a6786466a08cf144b7871;p=cpPlugins.git diff --git a/plugins/cpPluginsIO/MeshWriter.cxx b/plugins/cpPluginsIO/MeshWriter.cxx index 7cddc75..e69fc41 100644 --- a/plugins/cpPluginsIO/MeshWriter.cxx +++ b/plugins/cpPluginsIO/MeshWriter.cxx @@ -31,7 +31,7 @@ cpPluginsIO::MeshWriter:: void cpPluginsIO::MeshWriter:: _GenerateData( ) { - auto mesh = this->GetInputData( "Input" )->GetVTK< vtkPolyData >( ); + auto mesh = this->GetInputData< vtkPolyData >( "Input" ); if( mesh == NULL ) this->_Error( "No suitable input." );