]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkScalarsToColors.cxx
#3459 Feuture box PointPicker
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkScalarsToColors.cxx
index ba2a9eafe204b8fa1053bbfcbe39c61de0100a1d..b962c93f1af9b32d576210ae758929577df3fe48 100644 (file)
@@ -227,9 +227,9 @@ void ScalarsToColors::Process()
 //    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
   
 
-       if (firsttime==true)
-       {
-               firsttime=false;
+//     if (firsttime==true)
+//     {
+//             firsttime=false;
                // Create the color map
                if ((bbGetInputType()==0) || (bbGetInputType()==100) )
                {
@@ -327,7 +327,7 @@ void ScalarsToColors::Process()
                } // If Type 3
 
 
-       } // firsttime
+//     } // firsttime
        double rgb[3];
        std::vector<double>colorRGB;
        _scalarstocolors->GetColor( bbGetInputScalarValue() , rgb );
@@ -353,7 +353,7 @@ void ScalarsToColors::bbUserSetDefaultValues()
    range.push_back( 1 );
        bbSetInputRange(range);
    bbSetInputScalarValue(0);
-   firsttime           = true;
+//   firsttime         = true;
    _scalarstocolors    = NULL;
 }
 //=====