Fixed ColorPrint Legend update if Print preset was changed and model was resliced.

This commit is contained in:
YuSanka 2019-09-05 08:56:49 +02:00
parent 09e4ac42ba
commit 1651c8db6e
2 changed files with 13 additions and 13 deletions

View file

@ -720,7 +720,9 @@ public:
const wxString& name = wxEmptyString);
~DoubleSlider() {}
// permissible error for layer height
/* For exporting GCode in GCodeWriter is used XYZF_NUM(val) = PRECISION(val, 3) for XYZ values.
* So, let use same value as a permissible error for layer height.
*/
static double epsilon() { return 0.0011;}
void msw_rescale();