// 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) )
{
} // If Type 3
- } // firsttime
+// } // firsttime
double rgb[3];
std::vector<double>colorRGB;
_scalarstocolors->GetColor( bbGetInputScalarValue() , rgb );
range.push_back( 1 );
bbSetInputRange(range);
bbSetInputScalarValue(0);
- firsttime = true;
+// firsttime = true;
_scalarstocolors = NULL;
}
//=====