CompositeViewer support: Difference between revisions

Jump to navigation Jump to search
Line 168: Line 168:


Julian also added lots of diagnostics trying to figure out why scenery isn't being loaded: https://sourceforge.net/u/cgdae/flightgear/ci/eea77c18e29a7a8660a0e4b61fa687d937d0997e/
Julian also added lots of diagnostics trying to figure out why scenery isn't being loaded: https://sourceforge.net/u/cgdae/flightgear/ci/eea77c18e29a7a8660a0e4b61fa687d937d0997e/
when loading, we call <code>SceneryPager::PagerRequest::doRequest(SceneryPager* pager)</code> which calls <code>pager->requestNodeFile()</code> which is an alias for
<code>osgDB::DatabasePager::requestNodeFile()</code>.
With vanilla fgfs, this eventually results in a call to: <code>simgear/simgear/scene/tgdb/ReaderWriterSTG.cxx:700:ReaderWriterSTG::readNode()</code>
But with the CompositeViewer changes, this never seems to happen.
Presumably osgDB::DatabasePager::requestNodeFile() is making some sort of callback after it has (while running in a separate thread) loaded the requested file.<ref>https://sourceforge.net/p/flightgear/mailman/message/37059972/</ref>


== Use Cases ==
== Use Cases ==

Navigation menu