angular-three 3.2.0 → 3.2.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.
@@ -1513,7 +1513,7 @@ function processThreeEvent(instance, priority, eventName, callback) {
1513
1513
  }
1514
1514
  if (eventName === SPECIAL_EVENTS.ATTACHED) {
1515
1515
  lS.onAttach = callback;
1516
- if (untracked(lS.parent)) {
1516
+ if (lS.parent && untracked(lS.parent)) {
1517
1517
  lS.onAttach({ parent: untracked(lS.parent), node: instance });
1518
1518
  }
1519
1519
  return () => {