Skip to content

Commit b723d8f

Browse files
committed
Restore non-coloring block
1 parent 84c0686 commit b723d8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Modules/Visualization/ShowField.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,6 +1683,10 @@ void ShowFieldModule::renderEdges(
16831683
}
16841684
if (colorScheme == GeometryObject::COLOR_MAP)
16851685
vboBuffer->write(static_cast<float>(colors.at(i).r()));
1686+
else if (colorScheme == GeometryObject::COLOR_UNIFORM && !state.get(RenderState::USE_CYLINDER))
1687+
{
1688+
// no coloring at all
1689+
}
16861690
else {
16871691
// Writes uint8_t out to the VBO. A total of 4 bytes.
16881692
vboBuffer->write(COLOR_FTOB(colors.at(i).r()));

0 commit comments

Comments
 (0)