@onerjs/core 8.32.8 → 8.33.1

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.
@@ -873,7 +873,7 @@ export class AbstractMesh extends TransformNode {
873
873
  * @internal
874
874
  */
875
875
  _resyncLightSource(light) {
876
- const isIn = light.isEnabled() && light.canAffectMesh(this);
876
+ const isIn = light.isEnabled() && light.canAffectMesh(this) && light.internalEnabled;
877
877
  const index = this._lightSources.indexOf(light);
878
878
  let removed = false;
879
879
  if (index === -1) {