File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1513,6 +1513,11 @@ bool QgsRasterLayer::readXml( const QDomNode& layer_node )
1513
1513
}
1514
1514
1515
1515
// Check timestamp
1516
+ // This was probably introduced to reload completely raster if data changed and
1517
+ // reset completly symbology to reflect new data type etc. It creates however
1518
+ // problems, because user defined symbology is complete lost if data file time
1519
+ // changed (the content may be the same). See also 6900.
1520
+ #if 0
1516
1521
QDomNode stampNode = layer_node.namedItem( "timestamp" );
1517
1522
if ( !stampNode.isNull() )
1518
1523
{
@@ -1527,6 +1532,7 @@ bool QgsRasterLayer::readXml( const QDomNode& layer_node )
1527
1532
if ( !mValid ) return false;
1528
1533
}
1529
1534
}
1535
+ #endif
1530
1536
1531
1537
// Load user no data value
1532
1538
QDomElement noDataElement = layer_node.firstChildElement ( " noData" );
You can’t perform that action at this time.
0 commit comments