mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 21:04:41 +08:00
Update point_editor.js
This commit is contained in:
parent
a6f358ac29
commit
58f234d544
@ -556,9 +556,9 @@ class PointsEditor {
|
|||||||
}//end constructor
|
}//end constructor
|
||||||
|
|
||||||
updateData = () => {
|
updateData = () => {
|
||||||
if (this.points.length == 0) {
|
if (!this.points || this.points.length === 0) {
|
||||||
console.log("no points")
|
console.log("no points");
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
const combinedPoints = {
|
const combinedPoints = {
|
||||||
positive: this.points,
|
positive: this.points,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user