From 5e0c09ee26321224d287d522921385fb891d749f Mon Sep 17 00:00:00 2001 From: Tom Vogt Date: Sat, 7 Sep 2019 10:56:41 +0200 Subject: [PATCH] bugfix --- modules/save-and-load.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/save-and-load.js b/modules/save-and-load.js index 3910c5fc..fb8172a2 100644 --- a/modules/save-and-load.js +++ b/modules/save-and-load.js @@ -80,7 +80,7 @@ function getRoadPoints(node) { return points; } -function getPathPoints(node, increment) { +function getRiverPoints(node) { let points = []; const l = node.getTotalLength() / 2; // half-length const increment = 0.25; // defines density of points