mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-08 14:38:58 +08:00
ENH:delete no use code
jira: none Change-Id: I40e7ffa7ea47bb3cd4039eef9f6c28c604eb3abc
This commit is contained in:
parent
96e2147394
commit
c69b94af5c
@ -220,16 +220,6 @@ Model Model::read_from_file(const std::string& input_file, DynamicPrintConfig* c
|
||||
if (vertex_filament_ids.size() > 0) {
|
||||
result = obj_import_vertex_color_deal(vertex_filament_ids, first_extruder_id, & model);
|
||||
}
|
||||
} else { // test //todo delete
|
||||
vertex_filament_ids.push_back(2);
|
||||
vertex_filament_ids.push_back(3);
|
||||
vertex_filament_ids.push_back(4);
|
||||
vertex_filament_ids.push_back(1); // 4
|
||||
vertex_filament_ids.push_back(1);
|
||||
vertex_filament_ids.push_back(1);
|
||||
vertex_filament_ids.push_back(1);
|
||||
vertex_filament_ids.push_back(1); // 8
|
||||
result = obj_import_vertex_color_deal(vertex_filament_ids, first_extruder_id, &model);
|
||||
}
|
||||
} else if (obj_info.face_colors.size() > 0 && obj_info.has_uv_png == false) { // mtl file
|
||||
std::vector<unsigned char> face_filament_ids;
|
||||
|
Loading…
x
Reference in New Issue
Block a user