Hi Thomas, Thomas Beer wrote: > Hi, > > i have a problem/feature request regarding the read/write progress > callbacks: > > When the loader fetches inlined files, the progress drops back to 0 and > there's no chance to trace the "real" progress. I'd like to get the current > "branch level" and the currently processed filename or at least the mimetype > (for streams) from inside the callback function, to give reasonable progress > information. > > Any ideas on this?
Not an easy one. Because Inlines are read using simply calling the loader again you would need some extension in the SceneFileHandler interface to know about this. I think giving the progress access to the filename/mimetype would be a good idea, and then the progress could decide what to do with it. The easiest would be to just pass it as additional parameters, but it might be better to have a separate callback that is called at the beginning of the load. If you want to add that, I'd be happy to put it into CVS. Yours Dirk ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users