1
0
Fork 0

Add-ons: lower the priority of the add-on resource provider to PRIORITY_DEFAULT

The previous priority was PRIORITY_NORMAL, which happens to be higher
than PRIORITY_DEFAULT. Even though the add-on resource provider should
be quite fast at rejecting resource paths that don't start with
'[addon=', I currently can't see any reason that justifies to give it a
higher priority than other paths added to the simgear::ResourceManager
with addBasePath(..., PRIORITY_DEFAULT).
This commit is contained in:
Florent Rougon 2018-01-10 16:21:34 +01:00
parent 39bf5d6b8a
commit 451f41fe0c

View file

@ -39,7 +39,7 @@ namespace addons
{ {
ResourceProvider::ResourceProvider() ResourceProvider::ResourceProvider()
: simgear::ResourceProvider(simgear::ResourceManager::PRIORITY_NORMAL) : simgear::ResourceProvider(simgear::ResourceManager::PRIORITY_DEFAULT)
{ } { }
SGPath SGPath