Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

getAframeElementsFromSceneStructure creates circular references on input #128

Open
frederic-schwarz opened this issue Feb 27, 2018 · 0 comments

Comments

@frederic-schwarz
Copy link
Member

io3d.scene.getAframeElementsFromSceneStructure(sceneStructure)
should not affect sceneStructure input, but at the moment it does by referencing the parent in each node and thus creating a circular reference

a solution: the method should deep clone the input first

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant