Skip to content
Permalink
Browse files

disabled raster data file timestamp check in loading style, fixes #6900

  • Loading branch information
blazek committed May 15, 2013
1 parent 01c46cb commit dbb0730d3691ce039a418ef6ba55aa34a53bd2e5
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/core/raster/qgsrasterlayer.cpp
@@ -1513,6 +1513,11 @@ bool QgsRasterLayer::readXml( const QDomNode& layer_node )
}

// Check timestamp
// This was probably introduced to reload completely raster if data changed and
// reset completly symbology to reflect new data type etc. It creates however
// problems, because user defined symbology is complete lost if data file time
// changed (the content may be the same). See also 6900.
#if 0
QDomNode stampNode = layer_node.namedItem( "timestamp" );
if ( !stampNode.isNull() )
{
@@ -1527,6 +1532,7 @@ bool QgsRasterLayer::readXml( const QDomNode& layer_node )
if ( !mValid ) return false;
}
}
#endif

// Load user no data value
QDomElement noDataElement = layer_node.firstChildElement( "noData" );

0 comments on commit dbb0730

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