mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-03 05:20:29 -07:00
FIX:Unmatched color use original color
jira: STUDIO-10361 Change-Id: I7b19a56c3bbe06ce6a8ef783a824251700c9924c (cherry picked from commit be4585ed9853495419356b06a852aa447a1b7f2b)
This commit is contained in:
parent
7d72743d1e
commit
f384944a42
1 changed files with 5 additions and 1 deletions
|
|
@ -4069,7 +4069,11 @@ void SyncAmsInfoDialog::clone_thumbnail_data(bool allow_clone_ams_color)
|
|||
if (m) {
|
||||
m_preview_colors_in_thumbnail[id] = m->m_material_coloul;
|
||||
if (item->id < m_cur_colors_in_thumbnail.size()) {
|
||||
m_cur_colors_in_thumbnail[item->id] = m->m_ams_coloul;
|
||||
if (m->m_ams_name == "-") {
|
||||
m_cur_colors_in_thumbnail[item->id] = m->m_material_coloul;
|
||||
} else {
|
||||
m_cur_colors_in_thumbnail[item->id] = m->m_ams_coloul;
|
||||
}
|
||||
} else { // exist empty or unrecognized type ams in machine
|
||||
m_cur_colors_in_thumbnail.resize(item->id + 1);
|
||||
m_cur_colors_in_thumbnail[item->id] = m->m_ams_coloul;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue