soonspacejs 2.14.4 → 2.14.6

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.
package/dist/index.esm.js CHANGED
@@ -52,7 +52,7 @@ import * as $i from "three/examples/jsm/utils/SkeletonUtils.js";
52
52
  import * as Ih from "three/examples/jsm/libs/fflate.module.js";
53
53
  import { NURBSCurve as Dh } from "three/examples/jsm/curves/NURBSCurve.js";
54
54
  import { RectAreaLightHelper as Ah } from "three/examples/jsm/helpers/RectAreaLightHelper.js";
55
- const Eh = "soonspacejs", Lh = "2.14.4", ea = {
55
+ const Eh = "soonspacejs", Lh = "2.14.6", ea = {
56
56
  name: Eh,
57
57
  version: Lh
58
58
  }, no = "[soonspacejs]: ";
@@ -7714,14 +7714,14 @@ class yt extends st {
7714
7714
  super(e), this.material = n ?? this.createDefaultMaterial(), this.geometry = t ?? new rt(), this.mesh = new je(this.geometry, this.material), this.add(this.mesh), this.stype = "BaseMesh", this.castShadow = !0, this.receiveShadow = !0, Object.defineProperty(this, "material", {
7715
7715
  get: () => this.mesh.material,
7716
7716
  set: (s) => {
7717
- this.mesh.material = s, this.mesh && (this.mesh.material = s);
7717
+ this.mesh.material = s;
7718
7718
  },
7719
7719
  enumerable: !0,
7720
7720
  configurable: !0
7721
7721
  }), Object.defineProperty(this, "geometry", {
7722
7722
  get: () => this.mesh.geometry,
7723
7723
  set: (s) => {
7724
- this.mesh.geometry = s, this.mesh && (this.mesh.geometry = s);
7724
+ this.mesh.geometry = s;
7725
7725
  },
7726
7726
  enumerable: !0,
7727
7727
  configurable: !0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soonspacejs",
3
- "version": "2.14.4",
3
+ "version": "2.14.6",
4
4
  "homepage": "https://www.xwbuilders.com/soonspacejs/",
5
5
  "description": "soonspacejs 2.x",
6
6
  "module": "./dist/index.esm.js",
@@ -32,5 +32,5 @@
32
32
  "three": ">=0.172.0 <0.180.0",
33
33
  "three-mesh-bvh": ">=0.9.1"
34
34
  },
35
- "gitHead": "c3a7ad593a3a6ee4c78136138f79459fc47f198b"
35
+ "gitHead": "e2f676445b6db0317cff7bda0efa254aa30234b8"
36
36
  }