@tscircuit/3d-viewer 0.0.481 → 0.0.482

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14730,9 +14730,7 @@ function GltfModel({
14730
14730
  envMap: material.envMap ?? null,
14731
14731
  envMapIntensity: material.envMapIntensity ?? 1
14732
14732
  });
14733
- if (!material.envMap) {
14734
- material.envMap = environmentMap;
14735
- }
14733
+ material.envMap = environmentMap;
14736
14734
  if (typeof material.envMapIntensity !== "number" || material.envMapIntensity < DEFAULT_ENV_MAP_INTENSITY) {
14737
14735
  material.envMapIntensity = DEFAULT_ENV_MAP_INTENSITY;
14738
14736
  }
@@ -29492,7 +29490,7 @@ import * as THREE16 from "three";
29492
29490
  // package.json
29493
29491
  var package_default = {
29494
29492
  name: "@tscircuit/3d-viewer",
29495
- version: "0.0.480",
29493
+ version: "0.0.481",
29496
29494
  main: "./dist/index.js",
29497
29495
  module: "./dist/index.js",
29498
29496
  type: "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/3d-viewer",
3
- "version": "0.0.481",
3
+ "version": "0.0.482",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "type": "module",