Variable layer height is limited to 3 digits (related to PR#10298)

This commit is contained in:
YuSanka 2023-09-18 16:29:44 +02:00
parent 2b25f55f8b
commit 0a46aeea09

View File

@ -346,7 +346,7 @@ std::string GLCanvas3D::LayersEditing::get_tooltip(const GLCanvas3D& canvas) con
}
}
if (h > 0.0f)
ret = std::to_string(h);
ret = format("%.3f", h);
}
}
return ret;