@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.js CHANGED
@@ -1558,7 +1558,7 @@ var DIVEModel = class extends DIVENode {
1558
1558
  var _a;
1559
1559
  const worldPos = this.getWorldPosition(this._positionWorldBuffer);
1560
1560
  const oldWorldPos = worldPos.clone();
1561
- worldPos.y = -this._boundingBox.min.y * this.scale.y;
1561
+ worldPos.y = (this._boundingBox.max.y - this._boundingBox.min.y) / 2;
1562
1562
  if (worldPos.y === oldWorldPos.y) return;
1563
1563
  (_a = DIVECommunication.get(this.userData.id)) == null ? void 0 : _a.PerformAction(
1564
1564
  "UPDATE_OBJECT",
@@ -1707,7 +1707,7 @@ var DIVEPrimitive = class extends DIVENode {
1707
1707
  var _a;
1708
1708
  const worldPos = this.getWorldPosition(this._positionWorldBuffer);
1709
1709
  const oldWorldPos = worldPos.clone();
1710
- worldPos.y = -this._boundingBox.min.y * this.scale.y;
1710
+ worldPos.y = (this._boundingBox.max.y - this._boundingBox.min.y) / 2;
1711
1711
  if (worldPos.y === oldWorldPos.y) return;
1712
1712
  (_a = DIVECommunication.get(this.userData.id)) == null ? void 0 : _a.PerformAction(
1713
1713
  "UPDATE_OBJECT",
@@ -2947,7 +2947,7 @@ DIVEInfo._supportsWebXR = null;
2947
2947
  // package.json
2948
2948
  var package_default = {
2949
2949
  name: "@shopware-ag/dive",
2950
- version: "1.16.9",
2950
+ version: "1.16.10",
2951
2951
  description: "Shopware Spatial Framework",
2952
2952
  type: "module",
2953
2953
  main: "./build/dive.cjs",