]> Creatis software - cpPlugins.git/blobdiff - plugins/cpPluginsIO/MeshWriter.cxx
...
[cpPlugins.git] / plugins / cpPluginsIO / MeshWriter.cxx
index 7cddc75a02b5a683cb00f36c71cb465ff531c16d..e69fc411cc54382bd5a9ff2d4ea8a512e3b2cf36 100644 (file)
@@ -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." );