Update spline_editor.js

This commit is contained in:
kijai 2024-04-27 12:34:27 +03:00
parent f3fcc2d37d
commit f891eb9e0f

View File

@ -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) {