mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-15 19:35:56 +08:00
FIX:gcode checker error while parse double from str
Change-Id: I25965d7d2e2d4dd4bd4bb622a1ea118bb849abce Jira: none (cherry picked from commit 7cb0381dd2b1f0b90546e25b46647497daf6a14e)
This commit is contained in:
parent
4b7e8e6b07
commit
6590f77df4
@ -168,7 +168,7 @@ public:
|
||||
std::string cmd=input;
|
||||
size_t read = 0;
|
||||
|
||||
while (cmd.size() >= 5)
|
||||
while (cmd.find(',') != std::string::npos)
|
||||
{
|
||||
int pt = 0;
|
||||
for (pt = 0; pt < cmd.size(); pt++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user