From: Timo Heister Date: Mon, 5 Nov 2012 23:53:42 +0000 (+0000) Subject: fix bug in new xfig output X-Git-Tag: v8.0.0~1857 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65d033573691fb88bc467e59e14980a85177df32;p=dealii.git fix bug in new xfig output git-svn-id: https://svn.dealii.org/trunk@27416 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/grid_out.cc b/deal.II/source/grid/grid_out.cc index f7a0fbfd86..7764bc00bc 100644 --- a/deal.II/source/grid/grid_out.cc +++ b/deal.II/source/grid/grid_out.cc @@ -301,6 +301,7 @@ namespace GridOutFlags XFig::XFig () : draw_boundary(true), + color_by(material_id), level_color(false), level_depth(true), n_boundary_face_points(0), @@ -1171,7 +1172,7 @@ void GridOut::write_xfig ( if (xfig_flags.level_color) out << cell->level() + 32; else - out << cell->material_id() + 32; + out << static_cast(cell->material_id()) + 32; break; case GridOutFlags::XFig::level_number: out << cell->level() + 8;