mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
Update src/core/qgsmaplayer.cpp
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
This commit is contained in:
parent
41fa197db1
commit
6c0215fa11
@ -761,7 +761,7 @@ bool QgsMapLayer::writeLayerXml( QDomElement &layerElement, QDomDocument &docume
|
|||||||
const QgsRectangle extent2D { mExtent2D.isNull() ? extent() : mExtent2D };
|
const QgsRectangle extent2D { mExtent2D.isNull() ? extent() : mExtent2D };
|
||||||
if ( !extent2D.isNull() )
|
if ( !extent2D.isNull() )
|
||||||
{
|
{
|
||||||
layerElement.appendChild( QgsXmlUtils::writeRectangle( mExtent2D, document ) );
|
layerElement.appendChild( QgsXmlUtils::writeRectangle( extent2D, document ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user