Path: ignore N command

This commit is contained in:
Zheng, Lei
2017-03-12 10:33:05 +08:00
committed by Yorik van Havre
parent 85c976aa28
commit 7aec94c2fe

View File

@@ -133,6 +133,7 @@ std::string Command::toGCode (void) const
str << Name;
for(std::map<std::string,double>::const_iterator i = Parameters.begin(); i != Parameters.end(); ++i) {
std::string k = i->first;
if(k == "N") continue;
std::string v = std::to_string(i->second);
str << " " << k << v;
}