@onerjs/core 8.55.6 → 8.55.7

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.
@@ -907,11 +907,11 @@ let ArcRotateCamera = (() => {
907
907
  if (!ignoreParentClass) {
908
908
  super._updateCache();
909
909
  }
910
- this._cache._target.copyFrom(this._getTargetPosition());
910
+ this._cache._target?.copyFrom(this._getTargetPosition());
911
911
  this._cache.alpha = this.alpha;
912
912
  this._cache.beta = this.beta;
913
913
  this._cache.radius = this.radius;
914
- this._cache.targetScreenOffset.copyFrom(this.targetScreenOffset);
914
+ this._cache.targetScreenOffset?.copyFrom(this.targetScreenOffset);
915
915
  }
916
916
  _getTargetPosition() {
917
917
  const getPosition = () => {