mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-19 19:12:23 -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
|
|
@ -3098,7 +3098,9 @@ bool Model::obj_import_face_color_deal(const std::vector<unsigned char> &face_fi
|
|||
for (size_t i = 0; i < volume->mesh().its.indices.size(); i++) {
|
||||
auto face = volume->mesh().its.indices[i];
|
||||
auto filament_id = face_filament_ids[i];
|
||||
if (filament_id <= 1) { continue; }
|
||||
if (filament_id < 1) {
|
||||
continue;
|
||||
}
|
||||
std::string result;
|
||||
get_real_filament_id(filament_id, result);
|
||||
volume->mmu_segmentation_facets.set_triangle_from_string(i, result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue