This commit is contained in:
zombieyang
2025-05-17 10:50:41 +08:00
parent 0bd94a3916
commit 2ca2449339
3 changed files with 4 additions and 1 deletions
-1
View File
@@ -1,3 +1,2 @@
global.sdpppX = {
"MU": 1
}
+2
View File
@@ -239,6 +239,7 @@ def define_comfyui_nodes_legacy(sdppp):
'boundary': convert_mask_to_boundary(item_bound),
'image_blob': blob
})
# print('before send', time.time() - total_start_time)
ret = call_async_func_in_server_thread(ProtocolPhotoshop.send_images(
instance_id=document['instance_id'],
@@ -248,6 +249,7 @@ def define_comfyui_nodes_legacy(sdppp):
boundaries=[p['boundary'] for p in params],
new_layer_name=sdppp_arg_item['lastOpenedWorkflow']
))
# print('final', time.time() - total_start_time)
if not 'layers' in ret:
return ([None],)
+2
View File
@@ -191,6 +191,8 @@ export default {
'GetSelection need Photoshop version 25+': 'GetSelection 需要 Photoshop 25+ 版本',
'Action {0} not found': 'Action {0} 未找到',
'Action set {0} not found': 'ActionSet {0} 未找到',
'{0} cannot be used in Photoshop Action Node': '{0} 不能在 Photoshop Action 节点中使用',
'Group layers': '图层组',
// photoshop modal state
'create document for sent images': '给发送的图片创建文档',