Explorar o código

feat(draw): update

gemercheung hai 1 ano
pai
achega
f86d94f784
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/Scene.js

+ 1 - 1
src/core/Scene.js

@@ -78,7 +78,7 @@ export default class Scene extends Mitt {
     this.boxManager.load(list, type);
     //light
     this.loadLight();
-    this.player.load(type, testData);
+    this.player.load(type, data || []);
   };
 
   clearScene() {