prerelease.10

This commit is contained in:
zombieyang
2025-12-21 21:55:42 +08:00
parent 79e5c2329f
commit 4cc97ccb90
5 changed files with 4792 additions and 4786 deletions
+4784 -4786
View File
File diff suppressed because one or more lines are too long
+8
View File
@@ -219,6 +219,9 @@ export default function (sdppp, version = 1) {
node.widgets[widgetIndex].doModeChange();
}
return true
} else {
node.widgets[widgetIndex].value = value;
node.widgets[widgetIndex].callback?.(value)
}
return false;
function fixRGthreeWidgetValue(type, value) {
@@ -511,6 +514,11 @@ export default function (sdppp, version = 1) {
uiWeight: 12 // 独占整行
}]
}
},
setter: (node, widgetIndex, value) => {
// it should be implemented.
// otherwise the roll button will be trigger and make a queuePrompt.
return widgetIndex == 2;
}
})