fix bounds argument bug

This commit is contained in:
zombieyang
2024-12-06 00:54:20 +08:00
parent ae6e956fc1
commit 66bea02bc7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ def define_comfyui_nodes(sdppp):
"document": ("DOCUMENT", {"default": None, "sdppp_type": "DOCUMENT"}),
},
"optional": {
"bounds [optional]": ('BOUND', {"default": None}),
"bound": ('BOUND', {"default": None}),
}
}
+2 -2
View File
@@ -86,7 +86,7 @@ def define_comfyui_nodes_legacy(sdppp):
"optional": {
# compat combo selection type
"document": ("STRING", {"default": "", "sdppp_type": "DOCUMENT_nameid"}),
"bounds [optional]": ('BOUND', {"default": None}),
"bound": ('BOUND', {"default": None}),
},
"hidden": {
"unique_id": "UNIQUE_ID",
@@ -206,7 +206,7 @@ def define_comfyui_nodes_legacy(sdppp):
"optional": {
# compat combo selection type
"document": ("STRING", {"default": "", "sdppp_type": "DOCUMENT_nameid"}),
"bounds [optional]": ('BOUND', {"default": None}),
"bound": ('BOUND', {"default": None}),
},
"hidden": {
"unique_id": "UNIQUE_ID",