mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 04:12:07 +00:00
FIX: Remove unprintable_filament_map
jira: none Change-Id: I30285d0cc98a974e71f16fd9adb57dfcccb39415 (cherry picked from commit 1959fa7d5c213a7720b8f215f1578597278e6920)
This commit is contained in:
@@ -1221,8 +1221,6 @@ bool GLVolumeCollection::check_outside_state(const BuildVolume &build_volume, Mo
|
||||
unprintable_filament_vec.emplace_back(std::vector<int>(filamnt_ids.begin(), filamnt_ids.end()));
|
||||
}
|
||||
|
||||
curr_plate->set_unprintable_filament_ids(unprintable_filament_vec);
|
||||
|
||||
if (object_results && !partly_objects_set.empty()) {
|
||||
object_results->partly_outside_objects = std::vector<ModelObject*>(partly_objects_set.begin(), partly_objects_set.end());
|
||||
}
|
||||
|
||||
@@ -3425,18 +3425,6 @@ void PartPlate::clear_filament_map_mode()
|
||||
m_config.erase("filament_map_mode");
|
||||
}
|
||||
|
||||
const std::vector<std::vector<int>>& PartPlate::get_unprintable_filament_ids()
|
||||
{
|
||||
std::vector<std::vector<int>> & unprintabel_filament_maps = m_config.option<ConfigOptionIntsGroups>("unprintable_filament_map", true)->values;
|
||||
return unprintabel_filament_maps;
|
||||
}
|
||||
|
||||
void PartPlate::set_unprintable_filament_ids(const std::vector<std::vector<int>> &filament_ids)
|
||||
{
|
||||
std::vector<std::vector<int>> &unprintabel_filament_maps = m_config.option<ConfigOptionIntsGroups>("unprintable_filament_map", true)->values;
|
||||
unprintabel_filament_maps = filament_ids;
|
||||
}
|
||||
|
||||
void PartPlate::on_extruder_count_changed(int extruder_count)
|
||||
{
|
||||
if (extruder_count < 2) {
|
||||
|
||||
@@ -505,9 +505,6 @@ public:
|
||||
|
||||
void print() const;
|
||||
|
||||
const std::vector<std::vector<int>> &get_unprintable_filament_ids();
|
||||
void set_unprintable_filament_ids(const std::vector<std::vector<int>> &filament_ids);
|
||||
|
||||
void on_extruder_count_changed(int extruder_count);
|
||||
void set_filament_count(int filament_count);
|
||||
void on_filament_added();
|
||||
|
||||
Reference in New Issue
Block a user