Skip to content

Commit

Permalink
- fixed color not updating (Linux only) when selecting color for surf…
Browse files Browse the repository at this point in the history
…ace/tetras
  • Loading branch information
dennis2society committed May 27, 2018
1 parent cd7b5f9 commit fe48552
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/qgltetraviewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ void QGLTetraViewer::selectSurfaceColor()
if (c.isValid())
{
tMesh->SetSurfaceSolidColor(c.red(), c.green(), c.blue());
update();
}
}

Expand All @@ -398,6 +399,7 @@ void QGLTetraViewer::selectSurfaceColorWireframe()
if (c.isValid())
{
tMesh->SetSurfaceWireframeColor(c.red(), c.green(), c.blue());
update();
}
}

Expand All @@ -407,6 +409,7 @@ void QGLTetraViewer::selectTetraColor()
if (c.isValid())
{
tMesh->SetTetraSolidColor(c.red(), c.green(), c.blue());
update();
}
}

Expand All @@ -416,5 +419,6 @@ void QGLTetraViewer::selectTetraColorWireframe()
if (c.isValid())
{
tMesh->SetTetraWireframeColor(c.red(), c.green(), c.blue());
update();
}
}

0 comments on commit fe48552

Please sign in to comment.