MikaFil commited on
Commit
ed6a88f
·
verified ·
1 Parent(s): 4416a65

Update viewer.js

Browse files
Files changed (1) hide show
  1. viewer.js +0 -2
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