Skip to content
Permalink
Browse files

[BUGFIX][Server] Segfault in WCS

  • Loading branch information
rldhont committed Apr 12, 2018
1 parent 04ef496 commit 27fa062a5bf99aa1dad1ab500ca2e3d180a77f2e
@@ -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 27fa062

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