mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-10 05:15:05 +08:00
Update nodes.py
This commit is contained in:
parent
5aeeed35f6
commit
5970b59de1
4
nodes.py
4
nodes.py
@ -1335,9 +1335,7 @@ class BatchCropFromMask:
|
||||
bounding_boxes = []
|
||||
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
|
||||
curr_max_bbox_size = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user