Skip to content

Commit

Permalink
Fix generation of point cloud file filter
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 5, 2020
1 parent 1225eb4 commit 9f53f70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsproviderregistry.cpp
Expand Up @@ -297,6 +297,8 @@ void QgsProviderRegistry::init()
if ( !filePointCloudFilters.isEmpty() )
{
QgsDebugMsgLevel( "point cloud filters: " + filePointCloudFilters, 2 );
if ( !mPointCloudFileFilters.isEmpty() && !mPointCloudFileFilters.endsWith( QLatin1String( ";;" ) ) )
mPointCloudFileFilters += QStringLiteral( ";;" );
mPointCloudFileFilters += filePointCloudFilters;
QgsDebugMsgLevel( QStringLiteral( "Checking %1: ...loaded OK (%2 file filters)" ).arg( key ).arg( filePointCloudFilters.split( ";;" ).count() ), 2 );
}
Expand Down

0 comments on commit 9f53f70

Please sign in to comment.