suppress re-generation of layer during gcode export

This commit is contained in:
Florens Wasserfall 2017-02-15 15:16:17 +01:00
parent b243f8e64f
commit 4d81a6d017

View File

@ -1260,6 +1260,12 @@ sub export_gcode {
$self->object_list_changed;
});
# Supress re-initialization of spline based layer heights
#foreach my $object @{$self->{print}->objects} {
# $object->layer_height_spline->suppressUpdate;
# }
$_->layer_height_spline->suppressUpdate for @{$self->{print}->objects};
# start background process, whose completion event handler
# will detect $self->{export_gcode_output_file} and proceed with export
$self->start_background_process;