bg2e-js 2.2.4 → 2.2.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bg2e-js",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "a graphics engine for productivity applications",
5
5
  "main": "./dist/bg2e-js.js",
6
6
  "types": "./src/index.ts",
@@ -433,7 +433,7 @@ export default class MaterialModifier {
433
433
  }
434
434
 
435
435
  if (this.lightEmissionScale !== undefined) {
436
- material.lightEmissionScale = this.lightEmissionScale;
436
+ material.lightEmissionScale = new Vec(this.lightEmissionScale);
437
437
  }
438
438
 
439
439
  if (this.unlit !== undefined) {