mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 04:37:52 -06:00
BedShapeDialog and Bed_2D (as a part of it) are completed.
Added new_scale function to Polyline. Fixed small bug in PointCtrl. Extended change_opt_value for coPoints case.
This commit is contained in:
parent
f90ea5060d
commit
7d29a7b45a
8 changed files with 239 additions and 172 deletions
|
@ -953,8 +953,7 @@ void TabPrinter::build()
|
|||
auto dlg = new BedShapeDialog(this);
|
||||
dlg->build_dialog(m_config->option<ConfigOptionPoints>("bed_shape"));
|
||||
if (dlg->ShowModal() == wxID_OK)
|
||||
// load_key_value("bed_shape", dlg->GetValue());
|
||||
;
|
||||
load_key_value("bed_shape", dlg->GetValue());
|
||||
}));
|
||||
|
||||
return sizer;
|
||||
|
@ -1567,6 +1566,7 @@ void Tab::save_preset(std::string name /*= ""*/)
|
|||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
show_error(this, "Something is wrong. It can't be saved.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue