Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -103,7 +103,7 @@ export async function initializeViewer(config, instanceId) {
|
|
| 103 |
color_bg_hex = (config.canvas_background !== undefined) ? config.canvas_background : "#FFFFFF";
|
| 104 |
color_bg = hexToRgbaArray(color_bg_hex);
|
| 105 |
|
| 106 |
-
console.log(
|
| 107 |
|
| 108 |
chosenCameraX = isMobile ? cameraXPhone : cameraX;
|
| 109 |
chosenCameraY = isMobile ? cameraYPhone : cameraY;
|
|
|
|
| 103 |
color_bg_hex = (config.canvas_background !== undefined) ? config.canvas_background : "#FFFFFF";
|
| 104 |
color_bg = hexToRgbaArray(color_bg_hex);
|
| 105 |
|
| 106 |
+
console.log(config.glb_url !== undefined);
|
| 107 |
|
| 108 |
chosenCameraX = isMobile ? cameraXPhone : cameraX;
|
| 109 |
chosenCameraY = isMobile ? cameraYPhone : cameraY;
|