angular-three 1.9.13 → 1.9.14

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.
@@ -1565,7 +1565,7 @@ function processThreeEvent(instance, priority, eventName, callback, cdr, targetC
1565
1565
  if (eventName === SPECIAL_EVENTS.AFTER_UPDATE || eventName === SPECIAL_EVENTS.AFTER_ATTACH) {
1566
1566
  let emitter = lS[eventName];
1567
1567
  if (!emitter)
1568
- emitter = new EventEmitter();
1568
+ emitter = lS[eventName] = new EventEmitter();
1569
1569
  const sub = emitter.subscribe(callback);
1570
1570
  return sub.unsubscribe.bind(sub);
1571
1571
  }