mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
Make plater work with new XS code
This commit is contained in:
@@ -1271,9 +1271,8 @@ sub _trigger_model_object {
|
||||
my $mesh = $model_object->mesh;
|
||||
$mesh->repair;
|
||||
$self->convex_hull(Slic3r::Polygon->new(@{Math::ConvexHull::MonotoneChain::convex_hull($mesh->vertices)}));
|
||||
$self->facets(scalar @{$mesh->facets});
|
||||
$self->facets($mesh->facets_count);
|
||||
$self->vertices(scalar @{$mesh->vertices});
|
||||
|
||||
$self->materials($model_object->materials_count);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user