Skip to content

Commit

Permalink
Allow printing prohibited filaments when 'Skip AMS Blacklist Check' i…
Browse files Browse the repository at this point in the history
…s enabled (#7161)

Update DeviceManager.cpp
  • Loading branch information
phiten authored Oct 22, 2024
1 parent 9731a17 commit 425d9c9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/slic3r/GUI/DeviceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5857,7 +5857,15 @@ void DeviceManager::check_filaments_in_blacklist(std::string tag_vendor, std::st
{
vendor = prohibited_filament["vendor"].get<std::string>();
type = prohibited_filament["type"].get<std::string>();
action = prohibited_filament["action"].get<std::string>();

if (GUI::wxGetApp().app_config->get("skip_ams_blacklist_check") == "true") {

action = "warning";
}
else {

action = prohibited_filament["action"].get<std::string>();
}
description = prohibited_filament["description"].get<std::string>();

description = blacklist_prompt[description].ToUTF8().data();
Expand Down

0 comments on commit 425d9c9

Please sign in to comment.