door_models 5.1.8 → 5.2.0

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
@@ -1581,7 +1581,6 @@ function DoorModels(_ref7) {
1581
1581
  if (initialDoorHeight.current === null || initialDoorHeight.current === 0) {
1582
1582
  return 0;
1583
1583
  }
1584
- // This is your original logic for resizing from the top
1585
1584
  return (doorHeight - initialDoorHeight.current) / 2 / 1000;
1586
1585
  }, [doorHeight]);
1587
1586
 
@@ -1636,9 +1635,6 @@ function DoorModels(_ref7) {
1636
1635
  x: 0
1637
1636
  }];
1638
1637
  }, [isDoubleDoor, doorWidthM, doorPivot]);
1639
- if (cpid !== doorName) {
1640
- return null;
1641
- }
1642
1638
  if (is2D) {
1643
1639
  return /*#__PURE__*/jsxRuntime.jsx("group", {
1644
1640
  "position-y": yCenteringOffset + 0.1,
@@ -1652,12 +1648,8 @@ function DoorModels(_ref7) {
1652
1648
  })
1653
1649
  });
1654
1650
  }
1655
- return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1656
- children: [/*#__PURE__*/jsxRuntime.jsx("axesHelper", {
1657
- args: [3]
1658
- }), /*#__PURE__*/jsxRuntime.jsx("gridHelper", {
1659
- args: [10, 10]
1660
- }), /*#__PURE__*/jsxRuntime.jsxs("group", {
1651
+ return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
1652
+ children: /*#__PURE__*/jsxRuntime.jsxs("group", {
1661
1653
  "position-y": yCenteringOffset + pivotNewPosition,
1662
1654
  children: [frontCoverPanel.visible && /*#__PURE__*/jsxRuntime.jsxs("group", {
1663
1655
  "position-z": frontArchitraveZ,
@@ -1934,7 +1926,7 @@ function DoorModels(_ref7) {
1934
1926
  pivot: instance.pivot,
1935
1927
  xOffset: instance.x
1936
1928
  }, instance.key))]
1937
- })]
1929
+ })
1938
1930
  });
1939
1931
  }
1940
1932
  function DoorLeaf(_ref8) {