Skip to content

Commit

Permalink
Fix for crash that happens when QGIS tries to render uncommitted feat…
Browse files Browse the repository at this point in the history
…ures; tested against unique value renderer (Committed on behalf of larsl)

git-svn-id: http://svn.osgeo.org/qgis/trunk@4885 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
morb_au committed Feb 20, 2006
1 parent c63eb20 commit b0e0309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsvectorlayer.cpp
Expand Up @@ -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;
drawFeature(p,*it,theMapToPixelTransform,&marker,scale,
Expand Down

0 comments on commit b0e0309

Please sign in to comment.