(maxWait = 5000)
| 12477 | await window.electron.addMultipleThumbnails(model.filePath, validImages); |
| 12478 | saved3mfEmbedsViaBatch = true; |
| 12479 | console.log( |
| 12480 | `[DEBUG] generateThumbnailsForModels: SUCCESS - Saved ${validImages.length} embedded image(s) for ${model.filePath}` |
| 12481 | ); |
| 12482 | } else { |
| 12483 | console.log(`[DEBUG] generateThumbnailsForModels: Invalid image format for ${model.filePath}`); |
| 12484 | } |
| 12485 | } else { |
| 12486 | console.log(`[DEBUG] generateThumbnailsForModels: No embedded thumbnail found for ${model.filePath}. Falling back to 3D rendering.`); |
| 12487 | } |
| 12488 | } catch (embeddedError) { |
| 12489 | console.error(`Error extracting embedded image from 3MF: ${model.filePath}`, embeddedError); |
| 12490 | } |
| 12491 | } |
no outgoing calls
no test coverage detected