From fe485524e9e96366caa403cd5eea78df906daef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20L=C3=BCbke?= Date: Sun, 27 May 2018 17:35:52 +0200 Subject: [PATCH] - fixed color not updating (Linux only) when selecting color for surface/tetras --- src/qgltetraviewer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qgltetraviewer.cpp b/src/qgltetraviewer.cpp index 3a14acb..10f2d7c 100644 --- a/src/qgltetraviewer.cpp +++ b/src/qgltetraviewer.cpp @@ -389,6 +389,7 @@ void QGLTetraViewer::selectSurfaceColor() if (c.isValid()) { tMesh->SetSurfaceSolidColor(c.red(), c.green(), c.blue()); + update(); } } @@ -398,6 +399,7 @@ void QGLTetraViewer::selectSurfaceColorWireframe() if (c.isValid()) { tMesh->SetSurfaceWireframeColor(c.red(), c.green(), c.blue()); + update(); } } @@ -407,6 +409,7 @@ void QGLTetraViewer::selectTetraColor() if (c.isValid()) { tMesh->SetTetraSolidColor(c.red(), c.green(), c.blue()); + update(); } } @@ -416,5 +419,6 @@ void QGLTetraViewer::selectTetraColorWireframe() if (c.isValid()) { tMesh->SetTetraWireframeColor(c.red(), c.green(), c.blue()); + update(); } }