]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGComplexBoxPortView.cxx
#3114 bbGEditor Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGComplexBoxPortView.cxx
index c104877ee2323d20b052c260c9cd457d480bb541..902a2478cda2bd16bc122c7411f4ea50f74a39f4 100644 (file)
@@ -159,7 +159,15 @@ namespace bbtk {
         strip->InsertCellPoint( 3 ) ;
         pdFill->SetPoints( _pts ) ;
         pdFill->SetStrips( strip ) ;
+
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
         _fillPolyMapper->SetInput( pdFill ) ;
+#else
+        _fillPolyMapper->SetInputData( pdFill ) ;
+#endif
+
         _fillObjectActor->SetMapper( _fillPolyMapper ) ;
         _fillPolyMapper->Modified( ) ;
         ///************************* FILL *************************