From: heister Date: Sat, 1 Jun 2013 00:22:23 +0000 (+0000) Subject: fix svg out that with new subdomain changes X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d7e16c4e1aeb876c47dc2ca5f1a6b94e164c493;p=dealii-svn.git fix svg out that with new subdomain changes git-svn-id: https://svn.dealii.org/trunk@29710 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/grid_out.cc b/deal.II/source/grid/grid_out.cc index 837063c9ef..57169eaae2 100644 --- a/deal.II/source/grid/grid_out.cc +++ b/deal.II/source/grid/grid_out.cc @@ -1460,7 +1460,8 @@ void GridOut::write_svg(const Triangulation<2,2> &tria, std::ostream &out) const materials[(unsigned int)cell->material_id()] = 1; levels[(unsigned int)cell->level()] = 1; - subdomains[cell->subdomain_id()+2] = 1; + if (cell->active()) + subdomains[cell->subdomain_id()+2] = 1; level_subdomains[cell->level_subdomain_id()+2] = 1; }