mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 03:13:39 +00:00
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:
@@ -978,6 +978,7 @@ void print_ams_mapping_result(std::vector<FilamentInfo>& result)
|
|||||||
bool SelectMachineDialog::do_ams_mapping(MachineObject *obj_,bool use_ams)
|
bool SelectMachineDialog::do_ams_mapping(MachineObject *obj_,bool use_ams)
|
||||||
{
|
{
|
||||||
if (!obj_) return false;
|
if (!obj_) return false;
|
||||||
|
if (!obj_->has_ams()) { use_ams = false;} /*STUDIO-11971*/
|
||||||
obj_->get_ams_colors(m_cur_colors_in_thumbnail);
|
obj_->get_ams_colors(m_cur_colors_in_thumbnail);
|
||||||
// try color and type mapping
|
// try color and type mapping
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user