@babylonjs/core 8.46.0 → 8.46.2

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.
@@ -402,6 +402,9 @@ export class GaussianSplattingMesh extends Mesh {
402
402
  // list view infos for active cameras
403
403
  const activeViewInfos = [];
404
404
  cameras.forEach((camera) => {
405
+ if (!camera) {
406
+ return;
407
+ }
405
408
  const cameraId = camera.uniqueId;
406
409
  const cameraViewInfos = this._cameraViewInfos.get(cameraId);
407
410
  if (cameraViewInfos) {