From 46e4902e3701328d32812a419b1365f525d2d6f3 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Wed, 22 Mar 2017 15:49:40 +0800 Subject: [PATCH] PathGui: increase pre-select GCode display decimal --- src/Mod/Path/Gui/ViewProviderPath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;