Skip to content
Permalink
Browse files
Fix for ticket #39
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 8e5a822eafc2f1a625dc4b2f69bb48aa397b6d44
Showing with 3 additions and 13 deletions.
  1. +3 −13 src/raster/qgsrasterlayer.cpp
@@ -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);

0 comments on commit 8e5a822

Please sign in to comment.