lythreeframe 1.1.15 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2707,7 +2707,7 @@ class LevelActor extends Actor {
2707
2707
  }
2708
2708
  constructor(app) {
2709
2709
  let scene = new webgpu.Scene();
2710
- super(app, new webgpu.Scene());
2710
+ super(app, scene);
2711
2711
  this._scene = null;
2712
2712
  this._scene = scene;
2713
2713
  this.isTickEnabled = false;
@@ -2705,7 +2705,7 @@ class LevelActor extends Actor {
2705
2705
  }
2706
2706
  constructor(app) {
2707
2707
  let scene = new Scene();
2708
- super(app, new Scene());
2708
+ super(app, scene);
2709
2709
  this._scene = null;
2710
2710
  this._scene = scene;
2711
2711
  this.isTickEnabled = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lythreeframe",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "description": "Three.js 封装",
5
5
  "main": "dist/bundle.cjs.js",
6
6
  "module": "dist/bundle.esm.js",