Fixed callback functions and restoring callbacks when the last mirror is deleted. If the original is deleted then the mirror tells the user that it is broken. Disabled creating a mirror of something with no widgets.
15 lines
299 B
Python
15 lines
299 B
Python
from .ui_node import UINode
|
|
|
|
__version__ = "1.0.0"
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"UINode": UINode
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"UINode": "Mirror node [Do not add manually!]",
|
|
}
|
|
|
|
WEB_DIRECTORY = "./web/comfyui"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"] |