Update spline_editor.js

This commit is contained in:
kijai 2024-05-06 00:04:51 +03:00
parent 9acc603b3e
commit 2f53c19ee2

View File

@ -357,6 +357,10 @@ function createSplineEditor(context, reset=false) {
context.setSize([context.size[0], h + 410]);
updatePath();
}
pointsStoreWidget.callback = () => {
points = JSON.parse(pointsStoreWidget.value);
updatePath();
}
// Initialize or reset points array
var drawHandles = false;