FIX: Remove editing restrictions for unprintable areas
jira: STUDIO-8934 Change-Id: Ied5f1571e9e4f8800eb2dc76eede052c7a656c1d
This commit is contained in:
parent
27f60bd85b
commit
3ed51770b8
|
@ -435,7 +435,7 @@ void Field::get_value_by_opt_type(wxString& str, const bool check_value/* = true
|
||||||
wxString y_str = thumbnail.GetNextToken();
|
wxString y_str = thumbnail.GetNextToken();
|
||||||
if (y_str.ToDouble(&y) && !thumbnail.HasMoreTokens()) {
|
if (y_str.ToDouble(&y) && !thumbnail.HasMoreTokens()) {
|
||||||
if (m_opt_id == "bed_exclude_area") {
|
if (m_opt_id == "bed_exclude_area") {
|
||||||
if (0 <= x && x <= 256 && 0 <= y && y <= 256) {
|
if (0 <= x && x <= 350 && 0 <= y && y <= 350) {
|
||||||
out_values.push_back(Vec2d(x, y));
|
out_values.push_back(Vec2d(x, y));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4415,7 +4415,6 @@ void TabPrinter::toggle_options()
|
||||||
toggle_option("support_chamber_temp_control",!is_BBL_printer);
|
toggle_option("support_chamber_temp_control",!is_BBL_printer);
|
||||||
toggle_option("use_firmware_retraction", !is_BBL_printer);
|
toggle_option("use_firmware_retraction", !is_BBL_printer);
|
||||||
toggle_option("support_air_filtration",is_BBL_printer);
|
toggle_option("support_air_filtration",is_BBL_printer);
|
||||||
toggle_option("bed_exclude_area", !is_BBL_printer);
|
|
||||||
auto flavor = m_config->option<ConfigOptionEnum<GCodeFlavor>>("gcode_flavor")->value;
|
auto flavor = m_config->option<ConfigOptionEnum<GCodeFlavor>>("gcode_flavor")->value;
|
||||||
bool is_marlin_flavor = flavor == gcfMarlinLegacy || flavor == gcfMarlinFirmware;
|
bool is_marlin_flavor = flavor == gcfMarlinLegacy || flavor == gcfMarlinFirmware;
|
||||||
// Disable silent mode for non-marlin firmwares.
|
// Disable silent mode for non-marlin firmwares.
|
||||||
|
|
Loading…
Reference in New Issue