mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-13 05:11:47 +08:00
Follow-up of 4b4d1c2f2a208d9647f17d2dcc5bf9f53d74f33f - Restored line deleted by mistake
This commit is contained in:
parent
4b4d1c2f2a
commit
ab171441aa
@ -74,6 +74,7 @@ const char* GCodeReader::parse_line_internal(const char *ptr, const char *end, G
|
||||
if (axis != NUM_AXES_WITH_UNKNOWN) {
|
||||
// Try to parse the numeric value.
|
||||
double v;
|
||||
c = skip_whitespaces(++c);
|
||||
auto [pend, ec] = fast_float::from_chars(c, end, v);
|
||||
if (pend != c && is_end_of_word(*pend)) {
|
||||
// The axis value has been parsed correctly.
|
||||
|
Loading…
x
Reference in New Issue
Block a user