Index: /issm/trunk-jpl/src/m/plot/plot_section.m
===================================================================
--- /issm/trunk-jpl/src/m/plot/plot_section.m	(revision 17784)
+++ /issm/trunk-jpl/src/m/plot/plot_section.m	(revision 17785)
@@ -32,5 +32,6 @@
 md3d=md;
 if exist(options,'layer')
-	md.mesh.x=md.mesh.x2d; md.mesh.y=md.mesh.y2d; md.mesh.elements=md.mesh.elements2d; md.mesh.dimension=2;
+	md.mesh.x=md.mesh.x2d; md.mesh.y=md.mesh.y2d; md.mesh.elements=md.mesh.elements2d;
+	md.mesh=mesh2d(md.mesh);
 end
 
