Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix WebcamCapture IS_CHANGED signature (#8413)

Kent Mewhortc7b25784b141
diff --git a/comfy_extras/nodes_webcam.py b/comfy_extras/nodes_webcam.py
index 062b15cf8..5bf80b4c6 100644
--- a/comfy_extras/nodes_webcam.py
+++ b/comfy_extras/nodes_webcam.py
@@ -23,6 +23,10 @@ class WebcamCapture(nodes.LoadImage):
def load_capture(self, image, **kwargs):
return super().load_image(folder_paths.get_annotated_filepath(image))
+ @classmethod
+ def IS_CHANGED(cls, image, width, height, capture_on_queue):
+ return super().IS_CHANGED(image)
+
NODE_CLASS_MAPPINGS = {
"WebcamCapture": WebcamCapture,