@babylonjs/core 8.39.2 → 8.39.3

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.
Files changed (28) hide show
  1. package/Debug/debugLayer.d.ts +1 -1
  2. package/Debug/debugLayer.js.map +1 -1
  3. package/Engines/abstractEngine.js +2 -2
  4. package/Engines/abstractEngine.js.map +1 -1
  5. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js +1 -1
  6. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js.map +1 -1
  7. package/Particles/Node/Blocks/Update/updateFlowMapBlock.d.ts +9 -1
  8. package/Particles/Node/Blocks/Update/updateFlowMapBlock.js +8 -0
  9. package/Particles/Node/Blocks/Update/updateFlowMapBlock.js.map +1 -1
  10. package/Particles/Node/Blocks/Update/updateNoiseBlock.d.ts +39 -0
  11. package/Particles/Node/Blocks/Update/updateNoiseBlock.js +102 -0
  12. package/Particles/Node/Blocks/Update/updateNoiseBlock.js.map +1 -0
  13. package/Particles/Node/Blocks/index.d.ts +1 -0
  14. package/Particles/Node/Blocks/index.js +1 -0
  15. package/Particles/Node/Blocks/index.js.map +1 -1
  16. package/Particles/Node/Blocks/particleSourceTextureBlock.d.ts +9 -5
  17. package/Particles/Node/Blocks/particleSourceTextureBlock.js +31 -13
  18. package/Particles/Node/Blocks/particleSourceTextureBlock.js.map +1 -1
  19. package/Particles/Node/nodeParticleSystemSet.helper.js +39 -21
  20. package/Particles/Node/nodeParticleSystemSet.helper.js.map +1 -1
  21. package/Particles/particle.d.ts +2 -2
  22. package/Particles/particle.js +4 -2
  23. package/Particles/particle.js.map +1 -1
  24. package/Particles/thinParticleSystem.d.ts +1 -1
  25. package/Particles/thinParticleSystem.function.js +2 -2
  26. package/Particles/thinParticleSystem.function.js.map +1 -1
  27. package/Particles/thinParticleSystem.js.map +1 -1
  28. package/package.json +1 -1
@@ -372,7 +372,7 @@ export class GaussianSplattingMesh extends Mesh {
372
372
  outdated = true;
373
373
  }
374
374
  });
375
- if ((forced || outdated) && this._worker && (this._scene.activeCameras || this._scene.activeCamera) && this._canPostToWorker) {
375
+ if ((forced || outdated) && this._worker && (this._scene.activeCameras?.length || this._scene.activeCamera) && this._canPostToWorker) {
376
376
  // array of cameras used for rendering
377
377
  const cameras = this._scene.activeCameras?.length ? this._scene.activeCameras : [this._scene.activeCamera];
378
378
  // list view infos for active cameras