Skip to content
Permalink
Browse files
Use variable name from current loop rather than previous loop. Correc…
…tion to r6502.

git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6551 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Feb 8, 2007
1 parent ef2b1d3 commit e36e6cde50bdab70a6276cfe0dc599736198a9d7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsvectorlayer.cpp
@@ -376,7 +376,7 @@ theMapToPixelTransform, fet, sel, 0, scale);
for(std::vector<QgsFeature*>::iterator it=mAddedFeatures.begin();it!=mAddedFeatures.end();++it)
{
bool sel=mSelectedFeatureIds.find((*it)->featureId()) != mSelectedFeatureIds.end();
if (m_renderer && m_renderer->willRenderFeature(fet))
if (m_renderer && m_renderer->willRenderFeature(*it))
{
mLabel->renderLabel ( p, viewExtent, *mCoordinateTransform, projectionsEnabledFlag,
theMapToPixelTransform, *it, sel, 0, scale);

0 comments on commit e36e6cd

Please sign in to comment.