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:
parent
39bf5d6b8a
commit
451f41fe0c
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ namespace addons
|
||||||
{
|
{
|
||||||
|
|
||||||
ResourceProvider::ResourceProvider()
|
ResourceProvider::ResourceProvider()
|
||||||
: simgear::ResourceProvider(simgear::ResourceManager::PRIORITY_NORMAL)
|
: simgear::ResourceProvider(simgear::ResourceManager::PRIORITY_DEFAULT)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
SGPath
|
SGPath
|
||||||
|
|
Loading…
Reference in a new issue