Commit ada4d55a authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[FIX] RGBA used an invalid alpha for lineAO, so as we do not need it here, we...

[FIX] RGBA used an invalid alpha for lineAO, so as we do not need it here, we just use RGB for coloring the start-end.
parent 126d7e18
......@@ -62,6 +62,7 @@ WDataSetFibers::SPtr WStartEndColoring::operator()( WProgress::SPtr progress, WB
WDataSetFibers::LengthArray fibLen = fibers->getLineLengths();
WDataSetFibers::VertexArray fibVerts = fibers->getVertices();
WDataSetFibers::ColorArray newColors( new std::vector< float > );
newColors->reserve( fibVerts->size() );
for( size_t fidx = 0; fidx < fibStart->size(); ++fidx ) // iterate over fibers
{
......@@ -79,7 +80,6 @@ WDataSetFibers::SPtr WStartEndColoring::operator()( WProgress::SPtr progress, WB
newColors->push_back( col[0] );
newColors->push_back( col[1] );
newColors->push_back( col[2] );
newColors->push_back( col[3] );
}
}
......
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