Closed adrianq closed 9 years ago
@adrianq Which simulation is the one that throws that error? I can't duplicate it.
A getChildren() for EntityNode should be fine. There's also getAspects and getEntities methods in EntityNode which combined are equal to the getChildren method
@tarelli try to reproduce this
This seems to happen only in https://github.com/openworm/org.geppetto.frontend/tree/adrianq-neuromlWidget
@jrmartin There is a js error when updating entities values with new server updates from a running simulation.
It looks like nodeA isn't a proper backbone node but a String.
I have implemented a getChildren method (in a fork) which returns entities and aspect for EntityNode. Maybe it could be a good option instead of iterating through the node like this: