mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-10 00:37:46 -07:00
FIX:Thumbnail render should use light in "obj import" dialog
jira: none Change-Id: I1457876a12f42abd93d26cebb60d2d7d8075df74 (cherry picked from commit 7768570492a59afdac0add126bceb6cf0d86b210)
This commit is contained in:
parent
0c5c3410d6
commit
cc12de18e0
3 changed files with 9 additions and 3 deletions
|
|
@ -512,7 +512,11 @@ void ObjColorPanel::update_filament_ids()
|
|||
m_filament_ids.reserve(m_input_colors_size);
|
||||
for (size_t i = 0; i < m_input_colors_size; i++) {
|
||||
auto label = m_cluster_labels_from_algo[i];
|
||||
m_filament_ids.emplace_back(m_cluster_map_filaments[label]);
|
||||
if (m_cluster_map_filaments[label] > 0) {
|
||||
m_filament_ids.emplace_back(m_cluster_map_filaments[label]);
|
||||
} else {
|
||||
m_filament_ids.emplace_back(1);//min filament_id is 1
|
||||
}
|
||||
}
|
||||
m_first_extruder_id = m_cluster_map_filaments[0];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue