mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 10:17:55 -06:00
Limit variable layer height displaying precision to 3 digits (#5795)
* Limit variable layer height calculation and displaying precision to three digits. * Remove calculation rounding.
This commit is contained in:
parent
c08126703c
commit
2ee3800a47
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ std::string GLCanvas3D::LayersEditing::get_tooltip(const GLCanvas3D& canvas) con
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (h > 0.0f)
|
if (h > 0.0f)
|
||||||
ret = std::to_string(h);
|
ret = wxString::Format("%.3f",h).ToStdString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue