From 6510f7eda96c46cf8e12c09b1b0a46667ceaeda0 Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Sun, 28 Apr 2024 14:10:31 +0300 Subject: [PATCH] Update spline_editor.js --- web/js/spline_editor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/js/spline_editor.js b/web/js/spline_editor.js index 0fc7939..d320e85 100644 --- a/web/js/spline_editor.js +++ b/web/js/spline_editor.js @@ -312,6 +312,10 @@ function createSplineEditor(context, reset=false) { tension = tensionWidget.value updatePath(); } + pointsWidget.callback = () => { + points_to_sample = pointsWidget.value + updatePath(); + } minValueWidget.callback = () => { updatePath();