ENH: use ext to mapping if there are no ams

jira: [STUDIO-11971]
Change-Id: Ic4dc9e59a40d74e38d4862276939aced4dcbdf92
(cherry picked from commit 4dc0e041e8c288b071042eade10d56bed5a1e3af)
This commit is contained in:
xin.zhang 2025-05-06 17:50:10 +08:00 committed by Noisyfox
parent 63509a5c1a
commit 789da693a7

View file

@ -978,6 +978,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