]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkStructuredPointsReader.cxx
#3107 BBTK Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtk.git] / packages / vtk / src / bbvtkStructuredPointsReader.cxx
index 930eb905d3e42836a4ebdca03ede83617b1391f1..4dd352be5cdfb93d7279bad332fad4ff72326efa 100644 (file)
@@ -60,7 +60,12 @@ void StructuredPointsReader::Process()
        {
                spr -> SetFileName( bbGetInputIn().c_str() );
                sp = spr->GetOutput();
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
                sp -> Update();
+#else
+               spr -> Update();
+#endif
                bbSetOutputOut( sp );
        } else {
                bbSetOutputOut( NULL );