From a49b045ce4764ae937c3b96ad50a36f3fdf7de26 Mon Sep 17 00:00:00 2001
From: Alessandro Ranellucci <aar@cpan.org>
Date: Fri, 28 Sep 2012 14:01:59 +0200
Subject: [PATCH] Do not call srand for each layer, to get better randomization
 of starting points. #694

---
 lib/Slic3r/GCode.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/Slic3r/GCode.pm b/lib/Slic3r/GCode.pm
index 3050fff45..90a6cea9e 100644
--- a/lib/Slic3r/GCode.pm
+++ b/lib/Slic3r/GCode.pm
@@ -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);
     }