compat latest comfy #30

This commit is contained in:
zombieyang
2024-08-18 09:15:47 +08:00
parent d4042ef265
commit ac559f8def
7 changed files with 83 additions and 49 deletions
+29
View File
@@ -0,0 +1,29 @@
# need refactor
document_data = dict()
def set_sd_document_data(data):
global document_data
document_data = data
def get_sd_document_data():
return document_data
special_get_layer_options = []
def set_special_get_layer_options(data):
global special_get_layer_options
special_get_layer_options = data
def get_special_get_layer_options():
return special_get_layer_options
special_get_bound_layer_options = []
def set_special_get_bound_layer_options(data):
global special_get_bound_layer_options
special_get_bound_layer_options = data
def get_special_get_bound_layer_options():
return special_get_bound_layer_options
special_send_layer_options = []
def set_special_send_layer_options(data):
global special_send_layer_options
special_send_layer_options = data
def get_special_send_layer_options():
return special_send_layer_options