ENH: use ext to mapping if there are no ams

jira: [STUDIO-11971]
Change-Id: Ic4dc9e59a40d74e38d4862276939aced4dcbdf92
This commit is contained in:
xin.zhang 2025-05-06 17:50:10 +08:00 committed by lane.wei
parent 480b1d71b4
commit 4dc0e041e8

View File

@ -980,6 +980,7 @@ void print_ams_mapping_result(std::vector<FilamentInfo>& result)
bool SelectMachineDialog::do_ams_mapping(MachineObject *obj_,bool use_ams)
{
if (!obj_) return false;
if (!obj_->has_ams()) { use_ams = false;} /*STUDIO-11971*/
obj_->get_ams_colors(m_cur_colors_in_thumbnail);
// try color and type mapping