Skip to content
Permalink
Browse files

Feature #8725: Disable simplify in editmode

Disable the drawing simplification when the editmode is enabled, the
geometries are cached for snapping
  • Loading branch information
ahuarte47 committed Oct 28, 2013
1 parent 200ae38 commit 709781a36586d6a0528899f89f903e122101c94b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayer.cpp
@@ -694,7 +694,7 @@ bool QgsVectorLayer::draw( QgsRenderContext& rendererContext )
.setSubsetOfAttributes( attributes );

// Enable the simplification of the geometries before fetch the features using the current map2pixel context.
if ( mSimplifyDrawing && !(featureRequest.flags() & QgsFeatureRequest::NoGeometry) )
if ( mSimplifyDrawing && !mEditBuffer && !(featureRequest.flags() & QgsFeatureRequest::NoGeometry) )
{
QPainter* p = rendererContext.painter();
float dpi = ( p->device()->logicalDpiX() + p->device()->logicalDpiY() ) / 2;

0 comments on commit 709781a

Please sign in to comment.
You can’t perform that action at this time.