chore: 不必要な処理を削除

This commit is contained in:
Taremin
2024-01-22 18:30:43 +09:00
parent 8d4b5e03a8
commit 8628f44c47
-12
View File
@@ -132,18 +132,6 @@ function createCallback(nodename: string, basename: string, inputType: string) {
this.widgets = this.tmpWidgets.concat(this.widgets)
delete this.tmpWidgets
}
if (this.widgets_values) {
for (let i = 0, il = this.widgets_values.length; i < il; ++i) {
const value = this.widgets_values[i]
if (value === null || value === void 0) {
continue
}
this.widgets[i].value = value
}
}
this.setSize(this.computeSize())
this.setDirtyCanvas(true, true)
if (app.configuringGraph) {
updateInputs.call(this)