prerelease.5 bugfixes
This commit is contained in:
+5522
-5515
File diff suppressed because one or more lines are too long
@@ -271,6 +271,27 @@ export default function (sdppp, version = 1) {
|
||||
formatter: switchFormatter
|
||||
})
|
||||
|
||||
/**
|
||||
* Handle LoadVideos
|
||||
* 处理 LoadVideos 节点
|
||||
*/
|
||||
sdppp.widgetable.add('LoadVideo', {
|
||||
formatter: (node) => {
|
||||
if (!node.widgets?.length) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
title: getTitle(node),
|
||||
widgets: [{
|
||||
value: node.widgets[0].value,
|
||||
outputType: "video",
|
||||
options: node.widgets[0].options,
|
||||
uiWeight: 12
|
||||
}]
|
||||
}
|
||||
},
|
||||
setter: () => false
|
||||
})
|
||||
/**
|
||||
* Handle LoadImage
|
||||
* 处理 LoadImage 节点
|
||||
|
||||
Reference in New Issue
Block a user