]> Creatis software - bbtk.git/commitdiff
#3458 Clean Code box PolyDataToActor
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 22 Apr 2021 15:45:36 +0000 (17:45 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 22 Apr 2021 15:45:36 +0000 (17:45 +0200)
packages/vtk/src/bbvtkPolyDataToActor.cxx

index 50df079dda417b995003d6eca78909c4bc9936ac..06c9cc24b7fe6ccc90ce0270e56e5111f145a333 100644 (file)
@@ -230,14 +230,11 @@ printf("EED WARNNING!  PolyDataToActor::DoProcess  which is the default values o
                                        polydatamapper->SetScalarModeToUsePointFieldData();                                     
                                        
                                        polydatamapper->SetColorModeToMapScalars();
-
                                        polydatamapper->SetLookupTable( bbGetInputScalarVisibilityOn_LookupTable() );
                                        if (bbGetInputScalarVisibilityOn_NameColorArray()!="") 
                                        {
                                                polydatamapper->SelectColorArray( bbGetInputScalarVisibilityOn_NameColorArray().c_str() );
-//                                             bbGetInputIn()->PrintSelf(std::cout, vtkIndent(2));
                                        }
-                                       
                                        if (bbGetInputScalarVisibilityOn_ScalarRange().size()==2)
                                        {
                                                polydatamapper->SetScalarRange(  bbGetInputScalarVisibilityOn_ScalarRange()[0] , bbGetInputScalarVisibilityOn_ScalarRange()[1]   );