Commit 90d6b607 authored by Ken Martin's avatar Ken Martin
Browse files

fixed based on change to Lut.cc's SetTableValue

parent 690148c1
......@@ -701,7 +701,8 @@ int vlDataReader::ReadLutData(FILE *fp, vlDataSet *ds, int numPts)
for (i=0; i<size; i++)
{
if ((retStat=fscanf(fp,"%c %c %d %c",rgba,rgba+1,rgba+2,rgba+3)) == EOF || retStat < 4) goto PREMATURE;
lut->SetTableValue(i,rgba);
lut->SetTableValue(i,rgba[0]/255.0,rgba[1]/255.0,
rgba[2]/255.0,rgba[3]/255.0);
}
}
this->Lut == lut;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment