Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -103,6 +103,8 @@ 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 |
chosenCameraX = isMobile ? cameraXPhone : cameraX;
|
| 107 |
chosenCameraY = isMobile ? cameraYPhone : cameraY;
|
| 108 |
chosenCameraZ = isMobile ? cameraZPhone : cameraZ;
|
|
|
|
| 103 |
color_bg_hex = (config.canvas_background !== undefined) ? config.canvas_background : "#FFFFFF";
|
| 104 |
color_bg = hexToRgbaArray(color_bg_hex);
|
| 105 |
|
| 106 |
+
console.log(glbUrl);
|
| 107 |
+
|
| 108 |
chosenCameraX = isMobile ? cameraXPhone : cameraX;
|
| 109 |
chosenCameraY = isMobile ? cameraYPhone : cameraY;
|
| 110 |
chosenCameraZ = isMobile ? cameraZPhone : cameraZ;
|