diff --git a/src/libslic3r/PrintConfig.hpp b/src/libslic3r/PrintConfig.hpp index 90e0f1fbb4..f1dc6b96a4 100644 --- a/src/libslic3r/PrintConfig.hpp +++ b/src/libslic3r/PrintConfig.hpp @@ -1125,6 +1125,12 @@ PRINT_CONFIG_CLASS_DEFINE( ((ConfigOptionFloatNullable, material_ow_branchingsupport_head_penetration)) ((ConfigOptionFloatNullable, material_ow_support_head_width)) ((ConfigOptionFloatNullable, material_ow_branchingsupport_head_width)) + ((ConfigOptionIntNullable, material_ow_support_points_density_relative)) + + ((ConfigOptionFloatNullable, material_ow_elefant_foot_compensation)) + ((ConfigOptionFloatNullable, material_ow_relative_correction_x)) + ((ConfigOptionFloatNullable, material_ow_relative_correction_y)) + ((ConfigOptionFloatNullable, material_ow_relative_correction_z)) ) PRINT_CONFIG_CLASS_DEFINE( diff --git a/src/libslic3r/SLAPrint.cpp b/src/libslic3r/SLAPrint.cpp index fa1d2a3c6c..a558e47910 100644 --- a/src/libslic3r/SLAPrint.cpp +++ b/src/libslic3r/SLAPrint.cpp @@ -861,7 +861,9 @@ bool SLAPrint::invalidate_state_by_config_options(const std::vector steps; @@ -947,7 +949,6 @@ bool SLAPrintObject::invalidate_state_by_config_options(const std::vectorgetInt(); + m_last_meaningful_value = default_value; break; case coInts: { diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 1a3c9171b3..731d8b5467 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -5623,24 +5623,6 @@ void TabSLAMaterial::update_material_overrides_page() for (const std::string& key : keys) { update_line_with_near_label_widget(*optgroup, key); - // // update_line_with_near_label_widget(*optgroup, key, false); - - // const static std::string preprefix = "material_ow_"; - - // if (title == "Support head" || title == "Support pillar") { - - // for (auto& prefix : { "", "branching" }) { - // update_line_with_near_label_widget(*optgroup, preprefix + prefix + key); - // } - // } - // else if (key == "relative_correction") { - // for (auto& axis : { "x", "y", "z" }) { - // update_line_with_near_label_widget(*optgroup, preprefix + key + "_" + char(axis[0])); - // } - // } - // else { - // update_line_with_near_label_widget(*optgroup, preprefix + key); - // } } } }