Explicitly remove user data references.
This commit is contained in:
parent
d5283bc432
commit
c2ba70660e
@ -197,6 +197,7 @@ export function DisposeThreeObjects (mainObject)
|
||||
} else {
|
||||
obj.material.dispose ();
|
||||
}
|
||||
obj.userData = null;
|
||||
obj.geometry.dispose ();
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user