diff --git a/src/Mod/Path/Gui/ViewProviderPath.cpp b/src/Mod/Path/Gui/ViewProviderPath.cpp index 2ca6c23d3b..35fcecd331 100644 --- a/src/Mod/Path/Gui/ViewProviderPath.cpp +++ b/src/Mod/Path/Gui/ViewProviderPath.cpp @@ -238,7 +238,7 @@ std::string ViewProviderPath::getElement(const SoDetail* detail) const const Toolpath &tp = pcPathObj->Path.getValue(); if(index<(int)tp.getSize()) { std::stringstream str; - str << index+1 << " " << tp.getCommand(index).toGCode(3,false); + str << index+1 << " " << tp.getCommand(index).toGCode(6,false); pt0Index = line_detail->getPoint0()->getCoordinateIndex(); if(pt0Index<0 || pt0Index>=pcLineCoords->point.getNum()) pt0Index = -1;