mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-02-07 12:21:50 +03:00
update slic3r
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user