mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-18 01:04:36 +08:00
Update nodes.py
This commit is contained in:
parent
5aeeed35f6
commit
5970b59de1
2
nodes.py
2
nodes.py
@ -1335,8 +1335,6 @@ class BatchCropFromMask:
|
|||||||
bounding_boxes = []
|
bounding_boxes = []
|
||||||
cropped_images = []
|
cropped_images = []
|
||||||
|
|
||||||
# Initialize max_bbox_size for the first frame
|
|
||||||
if not hasattr(self, 'max_bbox_size'):
|
|
||||||
self.max_bbox_size = 0
|
self.max_bbox_size = 0
|
||||||
|
|
||||||
# First, calculate the maximum bounding box size across all masks
|
# First, calculate the maximum bounding box size across all masks
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user