mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
parent
f16feff2a4
commit
97502df924
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ void PartPlate::calc_vertex_for_icons(int index, GeometryBuffer &buffer)
|
||||||
ExPolygon poly;
|
ExPolygon poly;
|
||||||
auto bed_ext = get_extents(m_shape);
|
auto bed_ext = get_extents(m_shape);
|
||||||
Vec2d p = bed_ext[2];
|
Vec2d p = bed_ext[2];
|
||||||
if (m_plater->get_build_volume_type() == BuildVolume_Type::Circle)
|
if (m_plater && m_plater->get_build_volume_type() == BuildVolume_Type::Circle)
|
||||||
p[1] -= std::max(
|
p[1] -= std::max(
|
||||||
0.0, (bed_ext.size()(1) - 5 * PARTPLATE_ICON_SIZE - 4 * PARTPLATE_ICON_GAP_Y - PARTPLATE_ICON_GAP_TOP) / 2);
|
0.0, (bed_ext.size()(1) - 5 * PARTPLATE_ICON_SIZE - 4 * PARTPLATE_ICON_GAP_Y - PARTPLATE_ICON_GAP_TOP) / 2);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue