Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When querying sublayers for all providers using
QgsProviderRegistry::querySublayers, if there is a preferred providers for a particular uri then ONLY return sublayers from these providers instead of iterating over all providers This cleans up the case that two providers can technically handle a uri, but where we definitely only want ONE of them to handle that uri. Specifically, while the OGR provider can technically open JSON files so reports that it can handle ept.json files, we only ever want to use the EPT point cloud provider for these as we know for certain that they are point cloud uris, not vector layers.
- Loading branch information
1 parent
e57193d
commit c74f42c
Showing
2 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters