From 3587a85341b78370fbf18139b51a46c0fcf1454f Mon Sep 17 00:00:00 2001 From: EL JABIRI Tarik Date: Fri, 19 Aug 2022 00:44:01 +0100 Subject: [PATCH] reset the current layer of the dxf. --- web/app/sketcher/io.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/app/sketcher/io.ts b/web/app/sketcher/io.ts index ddbd9c9b..4a802d99 100644 --- a/web/app/sketcher/io.ts +++ b/web/app/sketcher/io.ts @@ -522,6 +522,8 @@ export class IO { }); }); + // reset the current layer to 0, because its preserved in the dxf. + dxf.setCurrentLayerName('0'); return dxf.stringify(); } }