angular-three 3.2.1 → 3.2.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.
@@ -1470,8 +1470,8 @@ function removeThreeChild(child, parent, dispose) {
1470
1470
  // clear parent ref
1471
1471
  cLS?.setParent(null);
1472
1472
  // remove child from parent
1473
- pLS?.remove(child, 'objects');
1474
- pLS?.remove(child, 'nonObjects');
1473
+ pLS?.remove?.(child, 'objects');
1474
+ pLS?.remove?.(child, 'nonObjects');
1475
1475
  if (parent) {
1476
1476
  if (cLS?.attach) {
1477
1477
  detach(parent, child, cLS.attach);