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.esm.js CHANGED
@@ -1554,7 +1554,6 @@ function DoorModels(_ref7) {
1554
1554
  if (initialDoorHeight.current === null || initialDoorHeight.current === 0) {
1555
1555
  return 0;
1556
1556
  }
1557
- // This is your original logic for resizing from the top
1558
1557
  return (doorHeight - initialDoorHeight.current) / 2 / 1000;
1559
1558
  }, [doorHeight]);
1560
1559
 
@@ -1609,9 +1608,6 @@ function DoorModels(_ref7) {
1609
1608
  x: 0
1610
1609
  }];
1611
1610
  }, [isDoubleDoor, doorWidthM, doorPivot]);
1612
- if (cpid !== doorName) {
1613
- return null;
1614
- }
1615
1611
  if (is2D) {
1616
1612
  return /*#__PURE__*/jsx("group", {
1617
1613
  "position-y": yCenteringOffset + 0.1,
@@ -1625,12 +1621,8 @@ function DoorModels(_ref7) {
1625
1621
  })
1626
1622
  });
1627
1623
  }
1628
- return /*#__PURE__*/jsxs(Fragment, {
1629
- children: [/*#__PURE__*/jsx("axesHelper", {
1630
- args: [3]
1631
- }), /*#__PURE__*/jsx("gridHelper", {
1632
- args: [10, 10]
1633
- }), /*#__PURE__*/jsxs("group", {
1624
+ return /*#__PURE__*/jsx(Fragment, {
1625
+ children: /*#__PURE__*/jsxs("group", {
1634
1626
  "position-y": yCenteringOffset + pivotNewPosition,
1635
1627
  children: [frontCoverPanel.visible && /*#__PURE__*/jsxs("group", {
1636
1628
  "position-z": frontArchitraveZ,
@@ -1907,7 +1899,7 @@ function DoorModels(_ref7) {
1907
1899
  pivot: instance.pivot,
1908
1900
  xOffset: instance.x
1909
1901
  }, instance.key))]
1910
- })]
1902
+ })
1911
1903
  });
1912
1904
  }
1913
1905
  function DoorLeaf(_ref8) {