Draw grey surfaces again if draw_surface=False

This commit is contained in:
Matthias Hochsteger 2023-12-07 11:01:34 +01:00
parent 4648ac2768
commit c8f38486f1

View File

@ -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)