MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / persistListViewColumnState

Function persistListViewColumnState

renderer.js:14720–14731  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14718 }
14719 } catch (e) { /* ignore */ }
14720 if (!thumbnail || !thumbnail.startsWith('data:image')) {
14721 thumbnail = generateTypedPlaceholder('svg');
14722 }
14723 await window.electron.saveThumbnail(model.filePath, thumbnail);
14724 if (!skipHash && (!model.hash || model.hash === '')) {
14725 try { await window.electron.calculateFileHash(model.filePath); } catch (e) { /* ignore */ }
14726 }
14727 return;
14728 }
14729
14730 // 0c. Image-only previews: F3D / ChiTuBox / VOXL embedded thumbs (no mesh)
14731 if (isImageOnlyPreviewExt(fileExt)) {
14732 console.log(
14733 `[DEBUG] generateThumbnailsForModels: Attempting to extract embedded thumbnail for ${model.filePath}`
14734 );

Callers 2

onUpFunction · 0.85

Calls 1

Tested by

no test coverage detected