Fix crash when no widgets on customized group node

This commit is contained in:
pythongosssss 2024-01-30 17:59:47 +00:00
parent 6444e0a073
commit a56835faa1

View File

@ -910,6 +910,9 @@ export class GroupNodeHandler {
const self = this;
const onNodeCreated = this.node.onNodeCreated;
this.node.onNodeCreated = function () {
if (!this.widgets) {
return;
}
const config = self.groupData.nodeData.config;
if (config) {
for (const n in config) {