Skip to content
Permalink
Browse files

[BUGFIX][Server] Segfault in WCS

  • Loading branch information
rldhont committed Apr 12, 2018
1 parent f93f389 commit b93ec5dbcb990c8c5790b488f135d0f818e3e716
@@ -98,6 +98,10 @@ namespace QgsWcs
for ( int i = 0; i < wcsLayersId.size(); ++i )
{
QgsMapLayer *layer = project->mapLayer( wcsLayersId.at( i ) );
if ( !layer )
{
continue;
}
if ( layer->type() != QgsMapLayer::LayerType::RasterLayer )
{
continue;
@@ -264,6 +264,10 @@ namespace QgsWcs
for ( int i = 0; i < wcsLayersId.size(); ++i )
{
QgsMapLayer *layer = project->mapLayer( wcsLayersId.at( i ) );
if ( !layer )
{
continue;
}
if ( layer->type() != QgsMapLayer::LayerType::RasterLayer )
{
continue;
@@ -79,6 +79,10 @@ namespace QgsWcs
for ( int i = 0; i < wcsLayersId.size(); ++i )
{
QgsMapLayer *layer = project->mapLayer( wcsLayersId.at( i ) );
if ( !layer )
{
continue;
}
if ( layer->type() != QgsMapLayer::LayerType::RasterLayer )
{
continue;

0 comments on commit b93ec5d

Please sign in to comment.
You can’t perform that action at this time.