rc.1
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
## [1.9.11] - 2025-09-25
|
||||
* fix: if current layer is group and curlayer is actived in image widget, many strange behaviour.
|
||||
* fix: cannot send image if the prefix is setted in `SaveImage` node
|
||||
* fix: empty custom api's input will cause white screen.
|
||||
* fix: not sending to correct position when sending back to canvas.
|
||||
* fix: the image limit size would always set to 2048.
|
||||
* feature: autosend
|
||||
* optimize: optimize the once image syncing logic
|
||||
|
||||
## [1.9.10] - 2025-09-25
|
||||
* The release candidate of 2.0.
|
||||
* Update the image selection again, now is more easier.
|
||||
|
||||
+5136
-5108
File diff suppressed because one or more lines are too long
@@ -279,16 +279,10 @@ export default function (sdppp, version = 1) {
|
||||
sdppp.widgetable.add('LoadImage', {
|
||||
formatter: (node) => {
|
||||
if (version == 2) {
|
||||
const [subfolder, ...rest] = node.widgets[0].value.split('/')
|
||||
return {
|
||||
title: getTitle(node),
|
||||
widgets: [{
|
||||
value: {
|
||||
url: node.widgets[0].value,
|
||||
source: node.properties.source || 'remote',
|
||||
auto: node.properties.auto || false,
|
||||
thumbnail: location.protocol + '//' + location.host + '/api/view?type=input&filename=' + rest.join('/') + '&subfolder=' + subfolder
|
||||
},
|
||||
value: node.widgets[0].value,
|
||||
outputType: "images",
|
||||
options: node.widgets[0].options
|
||||
}]
|
||||
@@ -307,13 +301,7 @@ export default function (sdppp, version = 1) {
|
||||
}
|
||||
},
|
||||
setter: (node, widgetIndex, value) => {
|
||||
if (version == 1) return false;
|
||||
if (version == 2) {
|
||||
node.widgets[widgetIndex].value = value.url;
|
||||
node.setProperty('source', value.source);
|
||||
node.setProperty('auto', value.auto);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
})
|
||||
/**
|
||||
@@ -324,16 +312,10 @@ export default function (sdppp, version = 1) {
|
||||
sdppp.widgetable.add('LoadImageMask', {
|
||||
formatter: (node) => {
|
||||
if (version == 2) {
|
||||
const [subfolder, ...rest] = node.widgets[0].value.split('/')
|
||||
return {
|
||||
title: getTitle(node),
|
||||
widgets: [{
|
||||
value: {
|
||||
url: node.widgets[0].value,
|
||||
source: node.properties.source || 'remote',
|
||||
auto: node.properties.auto || false,
|
||||
thumbnail: location.protocol + '//' + location.host + '/api/view?type=input&filename=' + rest.join('/') + '&subfolder=' + subfolder
|
||||
},
|
||||
value: node.widgets[0].value,
|
||||
outputType: "masks",
|
||||
options: node.widgets[0].options
|
||||
}]
|
||||
@@ -352,13 +334,7 @@ export default function (sdppp, version = 1) {
|
||||
}
|
||||
},
|
||||
setter: (node, widgetIndex, value) => {
|
||||
if (version == 1) return false;
|
||||
if (version == 2) {
|
||||
node.widgets[widgetIndex].value = value.url;
|
||||
node.setProperty('source', value.source);
|
||||
node.setProperty('auto', value.auto);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
})
|
||||
|
||||
@@ -563,4 +539,4 @@ function nameByConnectedOutputOrTitle(node) {
|
||||
*/
|
||||
function getTitle(node) {
|
||||
return sdpppX.getNodeTitle(node);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sdppp",
|
||||
"version": "1.9.10",
|
||||
"version": "1.9.11",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"watch": "nodemon -w typescripts -e mjs,js,jsx,mts,ts,tsx,json,css,html -x node typescripts/src/build/index.build.ts",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "sd-ppp"
|
||||
description = "getting/sending picture from/to Photoshop with a simple connection. Make Photoshop become the workspace of your ComfyUI."
|
||||
version = "1.9.10"
|
||||
version = "1.9.11"
|
||||
license = { file = "LICENSE" }
|
||||
|
||||
[project.urls]
|
||||
|
||||
@@ -1 +1 @@
|
||||
509
|
||||
510
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user