archilogic-com / 3dio-js

JavaScript toolkit for interior apps

Home Page:https://3d.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getAframeElementsFromSceneStructure creates circular references on input

frederic-schwarz opened this issue · comments

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