1.5.1
This commit is contained in:
@@ -55,6 +55,10 @@ else:
|
||||
from .sdppp_python.sdppp import SDPPP
|
||||
sdppp = SDPPP()
|
||||
sdppp.attach_to_comfyui(PromptServer)
|
||||
from comfy.cli_args import args
|
||||
if (args.multi_user):
|
||||
sdppp.extra_server_info['multi_user'] = True
|
||||
|
||||
|
||||
from .sdppp_python.comfy.nodes import define_comfyui_nodes
|
||||
from .sdppp_python.comfy.nodes_legacy import define_comfyui_nodes_legacy
|
||||
|
||||
@@ -1,3 +1,16 @@
|
||||
## [1.5.1] - 2024-11-24
|
||||
1. optimize: Widget list will now sort by name.
|
||||
2. optimize: Textarea widget will auto resize.
|
||||
3. optimize: add a tips for Comfy with `--multi-user` that makes sdppp not able to load workflow. #58
|
||||
4. fix: `Save` button sometimes would not work.
|
||||
5. fix: Did not load the lastest workflow content when just enter Edit panel. #57 #58
|
||||
6. fix: The height and width of ParseLayerInfo was reversed.
|
||||
7. fix: SDPPP comfy nodes would become smaller after refresh.
|
||||
8. fix: Cannot get contents when there are multiple instance with same name. #56
|
||||
9. fix: Did not refresh layer option when just extracted PSD.
|
||||
10. fix: selected hidden layer will become visible after send to PS. #53
|
||||
|
||||
|
||||
## [1.5.0] - 2024-11-13
|
||||
1. feature: new node `GetSelection` to replace the `selection_only` option in `GetImageFromPS` Node
|
||||
2. feature: run workflow directly (work with new ComfyUI's layout).
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Generated
+991
-461
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sdppp",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.1",
|
||||
"scripts": {
|
||||
"watch": "nodemon -w typescripts/src -e mjs,js,jsx,mts,ts,tsx,json,css,html -x node typescripts/src/build.mjs",
|
||||
"build": "NODE_ENV=production node typescripts/src/build.mjs && bash plugins/package.sh"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "sd-ppp",
|
||||
"name": "SD-PPP",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.1",
|
||||
"main": "index.html",
|
||||
"manifestVersion": 5,
|
||||
"host": {
|
||||
@@ -12,7 +12,6 @@
|
||||
"enableAlerts": true
|
||||
},
|
||||
"requiredPermissions": {
|
||||
"enableUserInfo": true,
|
||||
"network": {
|
||||
"domains": "all"
|
||||
},
|
||||
@@ -45,8 +44,8 @@
|
||||
"height": 100
|
||||
},
|
||||
"maximumSize": {
|
||||
"width": 1280,
|
||||
"height": 960
|
||||
"width": 3440,
|
||||
"height": 1440
|
||||
},
|
||||
"preferredDockedSize": {
|
||||
"width": 300,
|
||||
|
||||
@@ -3,9 +3,9 @@ sp-slider.sdppp-slider {
|
||||
}
|
||||
.sdppp-slider sp-textfield {
|
||||
position: absolute;
|
||||
right: 19px;
|
||||
right: 0;
|
||||
top: 5px;
|
||||
width: 40px;
|
||||
width: 70px;
|
||||
height: 20px;
|
||||
text-align: right;
|
||||
}
|
||||
@@ -97,6 +97,8 @@ sp-slider.sdppp-slider {
|
||||
width: 25%;
|
||||
margin-right: 8.333%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.editor-card sp-picker,
|
||||
|
||||
+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.5.0"
|
||||
version = "1.5.1"
|
||||
license = { file = "LICENSE" }
|
||||
|
||||
[project.urls]
|
||||
|
||||
@@ -115,9 +115,7 @@ def registerSocketEvents(sdppp, sio):
|
||||
if len(sdppp.page_instances) == 0:
|
||||
return {"error": "Please connect at least one page instance"}
|
||||
|
||||
print('b_workflow_action', payload, payload['sid'])
|
||||
result = await sdppp.sio.call('b_workflow_action', payload, to=payload['sid'])
|
||||
print('b_workflow_action result')
|
||||
return result
|
||||
|
||||
@sio.event
|
||||
|
||||
@@ -7,6 +7,8 @@ class SDPPP:
|
||||
self.page_instances = dict()
|
||||
self.backend_instances = dict()
|
||||
|
||||
self.extra_server_info = {}
|
||||
|
||||
def attach_to_comfyui(self, PromptServer):
|
||||
self.sio = socketio.AsyncServer(
|
||||
async_mode='aiohttp',
|
||||
@@ -74,10 +76,13 @@ class SDPPP:
|
||||
else:
|
||||
raise socketio.exceptions.ConnectionRefusedError('unknown instance type ' + payload['type'])
|
||||
|
||||
return {
|
||||
"server_type": self.server_type
|
||||
ret = {
|
||||
"server_type": self.server_type,
|
||||
**self.extra_server_info
|
||||
}
|
||||
|
||||
return ret
|
||||
|
||||
|
||||
@sio.event
|
||||
async def disconnect(sid):
|
||||
|
||||
Reference in New Issue
Block a user