mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 17:59:01 +08:00
Repair meshes after splitting
This commit is contained in:
parent
79a2bab261
commit
a40556ab56
@ -640,6 +640,8 @@ sub split_object {
|
|||||||
my $new_model = Slic3r::Model->new;
|
my $new_model = Slic3r::Model->new;
|
||||||
|
|
||||||
foreach my $mesh (@new_meshes) {
|
foreach my $mesh (@new_meshes) {
|
||||||
|
$mesh->repair;
|
||||||
|
|
||||||
my $model_object = $new_model->add_object(
|
my $model_object = $new_model->add_object(
|
||||||
input_file => $current_model_object->input_file,
|
input_file => $current_model_object->input_file,
|
||||||
config => $current_model_object->config->clone,
|
config => $current_model_object->config->clone,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user