From 48e54a05a957f2686f9c0cffd61c00f79970d5ce Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Sun, 12 Mar 2017 10:33:05 +0800 Subject: [PATCH] Path: ignore N command --- src/Mod/Path/App/Command.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Path/App/Command.cpp b/src/Mod/Path/App/Command.cpp index 59efef53e9..2a7c5422e6 100644 --- a/src/Mod/Path/App/Command.cpp +++ b/src/Mod/Path/App/Command.cpp @@ -133,6 +133,7 @@ std::string Command::toGCode (void) const str << Name; for(std::map::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; }