ENH: add back use_relative_e for third party printer

Useless for BambuPrinter. But used by third party printer

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ib6a63e78816b25696c25952508f76c3d9221e363
This commit is contained in:
salt.wei authored and Lane.Wei committed 2023-07-07 17:29:08 +08:00
1 parent 9bd0e3e85b
commit 766abf92fa
13 files changed
+31 -23

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ const char* GCodeReader::parse_line_internal(const char *ptr, const char *end, G
}
}
if (gline.has(E) && RELATIVE_E_AXIS)
if (gline.has(E) && m_config.use_relative_e_distances)
m_position[E] = 0;
// Skip the rest of the line.