aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/xy_grid.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xy_grid.py')
-rw-r--r--scripts/xy_grid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xy_grid.py b/scripts/xy_grid.py
index 11be7a1b..df549298 100644
--- a/scripts/xy_grid.py
+++ b/scripts/xy_grid.py
@@ -108,7 +108,7 @@ class Script(scripts.Script):
return [x_type, x_values, y_type, y_values]
def run(self, p, x_type, x_values, y_type, y_values):
- p.seed = int(random.randrange(4294967294) if p.seed == -1 else p.seed)
+ p.seed = modules.processing.set_seed(p.seed)
p.batch_size = 1
p.batch_count = 1