@itwin/core-frontend 3.2.0-dev.48 → 3.2.0-dev.50

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.
@@ -1102,7 +1102,7 @@ class ViewState3d extends ViewState {
1102
1102
  return 0;
1103
1103
  if (location !== undefined && location.area !== undefined)
1104
1104
  eyeHeight = (0, ViewGlobalLocation_1.areaToEyeHeight)(this, location.area, location.center.height);
1105
- const origEyePoint = eyePoint !== undefined ? eyePoint.clone() : this.getEyePoint().clone();
1105
+ const origEyePoint = eyePoint !== undefined ? eyePoint.clone() : this.getEyeOrOrthographicViewPoint().clone();
1106
1106
  let targetPoint = origEyePoint;
1107
1107
  const targetPointCartographic = location !== undefined ? location.center.clone() : this.rootToCartographic(targetPoint);
1108
1108
  targetPointCartographic.height = 0.0;