i background load pretty much everything in my project as the player moves around the world. after queuing a resource load on 1.12.3 i never get a completion notification. i.e. callback via operationCompleted (...results...). this worked correctly on 1.11.5.
Code: Select all
auto& queue = Ogre::ResourceBackgroundQueue::getSingleton ();
resource->setBackgroundLoaded (true); // ex. a terrain texture resource
auto ticket = queue.load (resource->getCreator ()->getResourceType (), resource->getName (), resource->getGroup (), false, NULL, NULL, this);
...
// sometime later this should be called but is not on 1.12.3:
void operationCompleted (Ogre::BackgroundProcessTicket id, const Ogre::BackgroundProcessResult& result);
thanks!