mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -06:00
parent
9671cdfc68
commit
7f12c18a4a
7 changed files with 36 additions and 20 deletions
|
@ -6981,11 +6981,13 @@ void Plater::priv::set_bed_shape(const Pointfs& shape, const Pointfs& exclude_ar
|
|||
|
||||
float prev_height_lid, prev_height_rod;
|
||||
partplate_list.get_height_limits(prev_height_lid, prev_height_rod);
|
||||
auto prev_logo = partplate_list.get_logo_texture_filename();
|
||||
double height_to_lid = config->opt_float("extruder_clearance_height_to_lid");
|
||||
double height_to_rod = config->opt_float("extruder_clearance_height_to_rod");
|
||||
auto custom_bed_texture = config->opt_string("bed_custom_texture");
|
||||
|
||||
Pointfs prev_exclude_areas = partplate_list.get_exclude_area();
|
||||
new_shape |= (height_to_lid != prev_height_lid) || (height_to_rod != prev_height_rod) || (prev_exclude_areas != exclude_areas);
|
||||
new_shape |= (height_to_lid != prev_height_lid) || (height_to_rod != prev_height_rod) || (prev_exclude_areas != exclude_areas) || (prev_logo != custom_bed_texture);
|
||||
if (new_shape) {
|
||||
if (view3D) view3D->bed_shape_changed();
|
||||
if (preview) preview->bed_shape_changed();
|
||||
|
@ -10581,6 +10583,7 @@ void Plater::on_config_change(const DynamicPrintConfig &config)
|
|||
}
|
||||
//BBS: add bed_exclude_area
|
||||
else if (opt_key == "printable_area" || opt_key == "bed_exclude_area"
|
||||
|| opt_key == "bed_custom_texture" || opt_key == "bed_custom_model"
|
||||
|| opt_key == "extruder_clearance_height_to_lid"
|
||||
|| opt_key == "extruder_clearance_height_to_rod") {
|
||||
bed_shape_changed = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue