update slic3r

This commit is contained in:
QIDI TECH
2025-02-26 20:14:36 +08:00
parent d32f03deb8
commit ffb5d3da8a
60 changed files with 1724 additions and 475 deletions

View File

@@ -2694,12 +2694,11 @@ void ObjectList::split()
}
take_snapshot("Split to parts");
volume->split(filament_cnt);
wxBusyCursor wait;
auto model_object = (*m_objects)[obj_idx];
auto model_object = (*m_objects)[obj_idx];
auto world_tran = model_object->instances[0]->get_transformation().get_matrix() * volume->get_matrix();
float scale_det = std::fabs(world_tran.matrix().block(0, 0, 3, 3).determinant());
volume->split(filament_cnt, scale_det);
auto parent = m_objects_model->GetObject(item);
if (parent)