Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -241,8 +241,6 @@ export async function initializeViewer(config, instanceId) {
|
|
| 241 |
bgPlane.addComponent("model", { type: "plane" });
|
| 242 |
bgPlane.setLocalPosition(0, 0.1, 0);
|
| 243 |
bgPlane.setLocalScale(1, 1, 1);
|
| 244 |
-
|
| 245 |
-
mat.update();
|
| 246 |
bgPlane.model.material = matSol;
|
| 247 |
app.root.addChild(bgPlane);
|
| 248 |
|
|
|
|
| 241 |
bgPlane.addComponent("model", { type: "plane" });
|
| 242 |
bgPlane.setLocalPosition(0, 0.1, 0);
|
| 243 |
bgPlane.setLocalScale(1, 1, 1);
|
|
|
|
|
|
|
| 244 |
bgPlane.model.material = matSol;
|
| 245 |
app.root.addChild(bgPlane);
|
| 246 |
|