mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-25 14:14:28 +08:00
parent
4a0b2e681b
commit
3f796cdf78
@ -75,6 +75,8 @@ BedShape::BedShape(const ConfigOptionPoints& points)
|
|||||||
// all vertices are equidistant to center
|
// all vertices are equidistant to center
|
||||||
m_type = Type::Circular;
|
m_type = Type::Circular;
|
||||||
m_diameter = unscale<double>(avg_dist * 2);
|
m_diameter = unscale<double>(avg_dist * 2);
|
||||||
|
//round
|
||||||
|
m_diameter = std::round(1000 * m_diameter) / 1000.;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user