mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: don't calculate overhang degree if disable overhang slow down
When the model has no overhang, user may disable overhang slowing down. In this case, it's unnecessary to calculate overhang degree which make slicing slow when model is complex. This is improvement for github issue #331. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I2eaeca3ee4068f76709fe97535bbf05c0d27c062
This commit is contained in:
@@ -779,6 +779,8 @@ bool PrintObject::invalidate_state_by_config_options(
|
||||
|| opt_key == "fuzzy_skin_thickness"
|
||||
|| opt_key == "fuzzy_skin_point_distance"
|
||||
|| opt_key == "detect_overhang_wall"
|
||||
//BBS
|
||||
|| opt_key == "enable_overhang_speed"
|
||||
|| opt_key == "detect_thin_wall") {
|
||||
steps.emplace_back(posPerimeters);
|
||||
steps.emplace_back(posSupportMaterial);
|
||||
@@ -794,8 +796,6 @@ bool PrintObject::invalidate_state_by_config_options(
|
||||
opt_key == "seam_position"
|
||||
|| opt_key == "support_speed"
|
||||
|| opt_key == "support_interface_speed"
|
||||
//BBS
|
||||
|| opt_key == "enable_overhang_speed"
|
||||
|| opt_key == "overhang_1_4_speed"
|
||||
|| opt_key == "overhang_2_4_speed"
|
||||
|| opt_key == "overhang_3_4_speed"
|
||||
|
||||
Reference in New Issue
Block a user