Spaces:
Running
Running
Show why the 3D view failed, if it does (part 2)
Browse files104 unmodified lines105106107108109110111104 unmodified linestry {[gltf, data] = await Promise.all([loader.loadAsync(glbUrl), fetch(rigUrl).then((r) => r.ok ? r.json() : { joints: [] })]);} catch (e) {if (mine === gen) status.textContent = "The 3D preview didn't load. Try the image view.";return [];}if (mine !== gen) return [];104 unmodified lines105106107108109110111112104 unmodified linestry {[gltf, data] = await Promise.all([loader.loadAsync(glbUrl), fetch(rigUrl).then((r) => r.ok ? r.json() : { joints: [] })]);} catch (e) {console.error("3D preview failed to load", glbUrl, e);if (mine === gen) status.textContent = `The 3D preview didn't load (${String((e && e.message) || e).slice(0, 120)}). Try the image view.`;return [];}if (mine !== gen) return [];
viewer.js+2-1