addJSON should only resolve when threejs objects have been rendered.
For example, in these lines, the this.loadObjCallback should return a promise. The promise of the addJSON callback should in turn depend on that promise.
The current side effect of this bug is that examples/activity.html bugs out.
addJSON should only resolve when threejs objects have been rendered.
For example, in these lines, the
this.loadObjCallback
should return a promise. The promise of the addJSON callback should in turn depend on that promise.The current side effect of this bug is that
examples/activity.html
bugs out.