Commit 02c6e52c authored by Ken Martin's avatar Ken Martin
Browse files

minor fix

parent 70e24cb8
......@@ -51,7 +51,7 @@ float vtkColorScalars::GetScalar(int i)
rgba = this->GetColor(i);
s = (rgba[3]/255.0) * (0.30*rgba[0] + 0.59*rgba[1] + 0.11*rgba[2]);
s /= 255.0;
return s;
}
......
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