@shopware-ag/dive 1.16.9 → 1.16.10

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/build/dive.cjs CHANGED
@@ -1568,7 +1568,7 @@ var DIVEModel = class extends DIVENode {
1568
1568
  var _a;
1569
1569
  const worldPos = this.getWorldPosition(this._positionWorldBuffer);
1570
1570
  const oldWorldPos = worldPos.clone();
1571
- worldPos.y = -this._boundingBox.min.y * this.scale.y;
1571
+ worldPos.y = (this._boundingBox.max.y - this._boundingBox.min.y) / 2;
1572
1572
  if (worldPos.y === oldWorldPos.y) return;
1573
1573
  (_a = DIVECommunication.get(this.userData.id)) == null ? void 0 : _a.PerformAction(
1574
1574
  "UPDATE_OBJECT",
@@ -1705,7 +1705,7 @@ var DIVEPrimitive = class extends DIVENode {
1705
1705
  var _a;
1706
1706
  const worldPos = this.getWorldPosition(this._positionWorldBuffer);
1707
1707
  const oldWorldPos = worldPos.clone();
1708
- worldPos.y = -this._boundingBox.min.y * this.scale.y;
1708
+ worldPos.y = (this._boundingBox.max.y - this._boundingBox.min.y) / 2;
1709
1709
  if (worldPos.y === oldWorldPos.y) return;
1710
1710
  (_a = DIVECommunication.get(this.userData.id)) == null ? void 0 : _a.PerformAction(
1711
1711
  "UPDATE_OBJECT",
@@ -2929,7 +2929,7 @@ DIVEInfo._supportsWebXR = null;
2929
2929
  // package.json
2930
2930
  var package_default = {
2931
2931
  name: "@shopware-ag/dive",
2932
- version: "1.16.9",
2932
+ version: "1.16.10",
2933
2933
  description: "Shopware Spatial Framework",
2934
2934
  type: "module",
2935
2935
  main: "./build/dive.cjs",