door_models 5.3.0 → 5.3.2

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.cjs.js CHANGED
@@ -804,6 +804,7 @@ new THREE__namespace.MeshStandardMaterial({
804
804
  });
805
805
 
806
806
  const textureLoader = new THREE__namespace.TextureLoader();
807
+ textureLoader.setCrossOrigin("anonymous");
807
808
  const textureCache = {};
808
809
  const isHexColor = str => /^#([0-9A-F]{3}){1,2}$/i.test(str);
809
810
  const isUrl = str => str.startsWith("http") || str.startsWith("/");
@@ -2202,13 +2203,18 @@ function DoorLeaf(_ref8) {
2202
2203
  const DoorConfigurator = _ref => {
2203
2204
  let {
2204
2205
  doorName,
2205
- showInterface = true,
2206
+ materials,
2207
+ doorPivot,
2208
+ doorOpening,
2206
2209
  is2D = false
2207
2210
  } = _ref;
2208
2211
  return /*#__PURE__*/jsxRuntime.jsx(ConfiguratorProvider, {
2209
2212
  initialIs2D: is2D,
2210
2213
  children: /*#__PURE__*/jsxRuntime.jsx(DoorModels, {
2211
- doorName: doorName
2214
+ doorName: doorName,
2215
+ materials: materials,
2216
+ doorPivot: doorPivot,
2217
+ doorOpening: doorOpening
2212
2218
  })
2213
2219
  });
2214
2220
  };