From: Andreas P. <and...@gm...> - 2016-08-26 18:13:44
|
It looks like the downloadCount property of the X3Ddocument object needs to properly incremented and decremented: https://github.com/x3dom/x3dom/blob/master/src/nodes/Networking/Inline.js#L312 Then the loading indicator should automatically appear and disappear: https://github.com/x3dom/x3dom/blob/master/src/X3DCanvas.js#L1395 Hope this helps, -Andreas On Fri, Aug 26, 2016 at 1:02 PM, Leonard Daly <we...@re...> wrote: > When loading external files a little 'Loading N' overlay appears in the > top-left. N is incremented for each external file and decremented when > loading is complete (or an error is generated). What is the name of the > method (or property) of which object controls N. > > I am implementing an new external file node. N is incremented for each > request, but I've lost something from the code I started with (Inline.js) > to correctly handle the decrements. > > Thanks. > -- > *Leonard Daly* > X3D Co-Chair > Cloud Consultant > President, Daly Realism - *Creating the Future* > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > x3dom-developers mailing list > x3d...@li... > https://lists.sourceforge.net/lists/listinfo/x3dom-developers > > -- Andreas Plesch 39 Barbara Rd. Waltham, MA 02453 |