diff --git a/web/js/spline_editor.js b/web/js/spline_editor.js index 5f85c8b..0fc7939 100644 --- a/web/js/spline_editor.js +++ b/web/js/spline_editor.js @@ -447,7 +447,8 @@ function createSplineEditor(context, reset=false) { svgElement.style['zIndex'] = "2" svgElement.style['position'] = "relative" context.splineEditor.element.appendChild(svgElement); - var pathElements = svgElement.getElementsByTagName('path'); // Get all path elements + var pathElements = svgElement.getElementsByTagName('path'); // Get all path elements + updatePath(); } function samplePoints(svgPathElement, numSamples) {