Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoseph Lenox <lenox.joseph@gmail.com>2016-12-06 02:40:28 +0300
committerbubnikv <bubnikv@gmail.com>2017-02-21 18:29:57 +0300
commite2b56c44622748637d37eb9bf27344ed3b334603 (patch)
tree5ea7c184807a8f4151345bfb94f50506b6e93620 /lib
parent4f428fae40158e8dac807de0127afd7ea1618c82 (diff)
Repair the generic mesh so it can be exported.
Diffstat (limited to 'lib')
-rw-r--r--lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm b/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm
index 789de8069..477fb8573 100644
--- a/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm
+++ b/lib/Slic3r/GUI/Plater/ObjectPartsPanel.pm
@@ -359,6 +359,7 @@ sub on_btn_lambda {
} else {
return;
}
+ $mesh->repair;
my $new_volume = $self->{model_object}->add_volume(mesh => $mesh);
$new_volume->set_modifier($is_modifier);
$new_volume->set_name($name);