mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-04 07:11:23 +08:00
Allow printing prohibited filaments when 'Skip AMS Blacklist Check' is enabled (#7161)
Update DeviceManager.cpp
This commit is contained in:
parent
9731a17f0f
commit
425d9c97e4
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user