mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-12 15:03:33 +00:00
2D Bed (Bed shape dialog) improvements (#9524)
* init * fix grid & text colors for light theme * scale axis * fix custom bed plate not appearing * merge functions for generating gridlines * simplify * Fix flatpak build --------- Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
This commit is contained in:
@@ -458,13 +458,13 @@ void BedShapePanel::set_shape(const Pointfs& points)
|
||||
{
|
||||
BedShape shape(points);
|
||||
|
||||
m_shape_options_book->SetSelection(int(shape.get_page_type()));
|
||||
shape.apply_optgroup_values(m_optgroups[int(shape.get_page_type())]);
|
||||
|
||||
// Copy the polygon to the canvas, make a copy of the array, if custom shape is selected
|
||||
if (shape.is_custom())
|
||||
m_loaded_shape = points;
|
||||
|
||||
m_shape_options_book->SetSelection(int(shape.get_page_type()));
|
||||
shape.apply_optgroup_values(m_optgroups[int(shape.get_page_type())]);
|
||||
|
||||
update_shape();
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user