Fix spline/point editor bug on frontend versikon 1.21.2

This commit is contained in:
kijai 2025-05-30 14:57:17 +03:00
parent 9a52b7dfd2
commit 0b78aedaee
2 changed files with 2 additions and 6 deletions

View File

@ -112,9 +112,7 @@ app.registerExtension({
this.uuid = makeUUID()
element.id = `points-editor-${this.uuid}`
// fake image widget to allow copy/paste
const fakeimagewidget = this.addWidget("COMBO", "image", null, () => { }, {});
hideWidgetForGood(this, fakeimagewidget)
this.previewMediaType = 'image'
this.pointsEditor = this.addDOMWidget(nodeData.name, "PointsEditorWidget", element, {
serialize: false,

View File

@ -110,9 +110,7 @@ app.registerExtension({
this.uuid = makeUUID()
element.id = `spline-editor-${this.uuid}`
// fake image widget to allow copy/paste
const fakeimagewidget = this.addWidget("COMBO", "image", null, () => { }, {});
hideWidgetForGood(this, fakeimagewidget)
this.previewMediaType = 'image'
this.splineEditor = this.addDOMWidget(nodeData.name, "SplineEditorWidget", element, {
serialize: false,