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

Function syncSelectionWithFilteredModels

renderer.js:13289–13311  ·  view source on GitHub ↗
(files)

Source from the content-addressed store, hash-verified

13287}
13288
13289function handleContextRestored() {
13290 console.log('WebGL context restored');
13291 // Renderer will be recreated on next render
13292}
13293
13294// Update showSpinner function to show progress section instead
13295function showProgressBars() {
13296 const progressSection = document.getElementById('progress-section');
13297 const progressBar = document.getElementById('progress-bar');
13298 const renderProgressBar = document.getElementById('render-progress-bar');
13299 const progressText = document.getElementById('progress-text');
13300 const renderProgressText = document.getElementById('render-progress-text');
13301
13302 progressSection.classList.remove('hidden');
13303 progressBar.style.width = '0%';
13304 renderProgressBar.style.width = '0%';
13305 progressText.textContent = '0 / 0 files';
13306 renderProgressText.textContent = '0 / 0 models';
13307}
13308
13309// Update hideSpinner function
13310function hideProgressBars() {
13311 const progressSection = document.getElementById('progress-section');
13312 progressSection.classList.add('hidden');
13313}
13314

Callers 2

displayModelsFunction · 0.85
renderFilesFunction · 0.85

Calls 5

exitMultiEditModeFunction · 0.85
clearModelDetailsSidebarFunction · 0.85
updateSelectedCountFunction · 0.85

Tested by

no test coverage detected