mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
markers rework - editor start, dragging
This commit is contained in:
parent
b0d0b8924e
commit
9c0fcdeb34
1 changed files with 1 additions and 0 deletions
|
|
@ -824,6 +824,7 @@ function parseLoadedData(data) {
|
||||||
const riverPoints = [];
|
const riverPoints = [];
|
||||||
|
|
||||||
const length = node.getTotalLength() / 2;
|
const length = node.getTotalLength() / 2;
|
||||||
|
if (!length) continue;
|
||||||
const segments = Math.ceil(length / 6);
|
const segments = Math.ceil(length / 6);
|
||||||
const increment = length / segments;
|
const increment = length / segments;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue