mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: modify unprintable_filament_ids should regroup
jira: none Change-Id: Ifb8105f6e301aaed9ca4e62a37b9d3a1616e755b (cherry picked from commit fec7129437fc781b918ae1819c280440ea3fb54b)
This commit is contained in:
@@ -303,6 +303,7 @@ bool Print::invalidate_state_by_config_options(const ConfigOptionResolver & /* n
|
||||
|| opt_key == "extruder_ams_count"
|
||||
|| opt_key == "filament_map_mode"
|
||||
|| opt_key == "filament_map"
|
||||
|| opt_key == "unprintable_filament_map"
|
||||
|| opt_key == "wipe_tower_bridging"
|
||||
|| opt_key == "wipe_tower_extra_flow"
|
||||
|| opt_key == "wipe_tower_no_sparse_layers"
|
||||
@@ -2656,6 +2657,11 @@ void Print::update_filament_maps_to_config(std::vector<int> f_maps)
|
||||
m_has_auto_filament_map_result = true;
|
||||
}
|
||||
|
||||
const std::vector<std::vector<int>>& Print::get_unprintable_filament_ids() const
|
||||
{
|
||||
return m_config.unprintable_filament_map.values;
|
||||
}
|
||||
|
||||
std::vector<int> Print::get_filament_maps() const
|
||||
{
|
||||
return m_config.filament_map.values;
|
||||
|
||||
Reference in New Issue
Block a user