Skip to content
Browse files
Fix for crash that happens when QGIS tries to render uncommitted feat…
…ures; tested against unique value renderer (Committed on behalf of larsl)

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
morb_au committed Feb 20, 2006
1 parent 524cf0a commit b75ee65
Showing 1 changed file with 1 addition and 1 deletion.
@@ -946,7 +946,7 @@ void QgsVectorLayer::draw(QPainter * p, QgsRect * viewExtent, QgsMapToPixel * th
for(; it != mAddedFeatures.end(); ++it)
bool sel=mSelected.find((*it)->featureId()) != mSelected.end();
m_renderer->renderFeature(p, fet, &marker, &markerScaleFactor,
m_renderer->renderFeature(p, *it, &marker, &markerScaleFactor,
sel, widthScale);
double scale = markerScaleFactor * symbolScale;

0 comments on commit b75ee65

Please sign in to comment.