Do not call srand for each layer, to get better randomization of starting points. #694

degen-loop-screen
Alessandro Ranellucci 2012-09-28 14:01:59 +02:00
parent 02b11fb49a
commit a49b045ce4
1 changed files with 0 additions and 1 deletions

View File

@ -89,7 +89,6 @@ sub extrude_loop {
# or randomize if requested
my $last_pos = $self->last_pos;
if ($Slic3r::Config->randomize_start && $loop->role == EXTR_ROLE_CONTOUR_INTERNAL_PERIMETER) {
srand $self->layer->id * 10;
$last_pos = Slic3r::Point->new(scale $Slic3r::Config->print_center->[X], scale $Slic3r::Config->bed_size->[Y]);
$last_pos->rotate(rand(2*PI), $Slic3r::Config->print_center);
}