Skip to content

Commit 8e5a822

Browse files
author
g_j_m
committed
Fix for ticket #39
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5436 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent d5279f1 commit 8e5a822

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/raster/qgsrasterlayer.cpp

+3-13
Original file line numberDiff line numberDiff line change
@@ -1059,22 +1059,12 @@ bool QgsRasterLayer::draw(QPainter * theQPainter,
10591059
if (transparencyLevelInt == 0)
10601060
return TRUE;
10611061
QgsDebugMsg("QgsRasterLayer::draw(4 arguments): checking timestamp.");
1062-
1063-
/* TODO: Re-enable this for providers
1062+
10641063
// Check timestamp
1065-
if ( !mProviderKey )
1064+
if ( !update() )
10661065
{
1067-
1068-
#ifdef QGISDEBUG
1069-
std::cout << "QgsRasterLayer::draw(4 arguments): checking timestamp with no mProviderKey." << std::endl;
1070-
#endif
1071-
1072-
if ( !update() )
1073-
{
1074-
return;
1075-
}
1066+
return FALSE;
10761067
}
1077-
*/
10781068

10791069
// clip raster extent to view extent
10801070
QgsRect myRasterExtent = theViewExtent->intersect(&layerExtent);

0 commit comments

Comments
 (0)