mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX: coPoint type couldn't display
This causes the printer setting page unable to display becase I added a coPoint type option best_object_pos. Add reading and writing coPoint type configs solves the problem. Jira: STUDIO-4303 Change-Id: I34e40e567236d28ab1a7be265128275191fcc935
This commit is contained in:
parent
7beed5d6dd
commit
c7e78511f5
5 changed files with 72 additions and 11 deletions
|
@ -1349,6 +1349,10 @@ static wxString get_string_value(std::string opt_key, const DynamicPrintConfig&
|
|||
opt_key == "sparse_infill_pattern",
|
||||
opt_idx);
|
||||
}
|
||||
case coPoint: {
|
||||
Vec2d val = config.opt<ConfigOptionPoint>(opt_key)->value;
|
||||
return from_u8((boost::format("[%1%]") % ConfigOptionPoint(val).serialize()).str());
|
||||
}
|
||||
case coPoints: {
|
||||
//BBS: add bed_exclude_area
|
||||
if (opt_key == "printable_area") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue