Skip to content

Commit

Permalink
Fix for ticket #39
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5436 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed May 11, 2006
1 parent d5279f1 commit 8e5a822
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/raster/qgsrasterlayer.cpp
Expand Up @@ -1059,22 +1059,12 @@ bool QgsRasterLayer::draw(QPainter * theQPainter,
if (transparencyLevelInt == 0)
return TRUE;
QgsDebugMsg("QgsRasterLayer::draw(4 arguments): checking timestamp.");

/* TODO: Re-enable this for providers

// Check timestamp
if ( !mProviderKey )
if ( !update() )
{
#ifdef QGISDEBUG
std::cout << "QgsRasterLayer::draw(4 arguments): checking timestamp with no mProviderKey." << std::endl;
#endif
if ( !update() )
{
return;
}
return FALSE;
}
*/

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

0 comments on commit 8e5a822

Please sign in to comment.