Random fixes
This commit is contained in:
@@ -99,10 +99,7 @@ export default class ComfyImageCacheNode extends ComfyGraphNode {
|
||||
if (newIndex === this.properties.index && !force)
|
||||
return;
|
||||
|
||||
console.debug("[ComfyImageCacheNode] setIndex", newIndex, force)
|
||||
|
||||
if (!this.properties.images || newIndex < 0 || newIndex >= this.properties.images.images.length) {
|
||||
console.debug("[ComfyImageCacheNode] invalid indexes", newIndex, this.properties.images)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user