mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Draw grey surfaces again if draw_surface=False
This commit is contained in:
parent
4648ac2768
commit
c8f38486f1
@ -4723,7 +4723,7 @@ namespace netgen
|
|||||||
SurfaceElementActive(const SolData *data, const Mesh & mesh, const Element2d & el)
|
SurfaceElementActive(const SolData *data, const Mesh & mesh, const Element2d & el)
|
||||||
{
|
{
|
||||||
if(data == nullptr) return true;
|
if(data == nullptr) return true;
|
||||||
bool is_active = data->draw_surface;
|
bool is_active = true;
|
||||||
if (vispar.drawdomainsurf > 0)
|
if (vispar.drawdomainsurf > 0)
|
||||||
{
|
{
|
||||||
if (mesh.GetDimension() == 3)
|
if (mesh.GetDimension() == 3)
|
||||||
|
Loading…
Reference in New Issue
Block a user