From c8f38486f16217fdecfa3723884d41382e40bd84 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 7 Dec 2023 11:01:34 +0100 Subject: [PATCH] Draw grey surfaces again if draw_surface=False --- libsrc/visualization/vssolution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/visualization/vssolution.cpp b/libsrc/visualization/vssolution.cpp index 65729116..ac70842e 100644 --- a/libsrc/visualization/vssolution.cpp +++ b/libsrc/visualization/vssolution.cpp @@ -4723,7 +4723,7 @@ namespace netgen SurfaceElementActive(const SolData *data, const Mesh & mesh, const Element2d & el) { if(data == nullptr) return true; - bool is_active = data->draw_surface; + bool is_active = true; if (vispar.drawdomainsurf > 0) { if (mesh.GetDimension() == 3)