Skip to content

Commit fec6baf

Browse files
committed
Feature #8725: Disable simplify in editmode
Disable the drawing simplification when the editmode is enabled, the geometries are cached for snapping
1 parent aa2d3bc commit fec6baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsvectorlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ bool QgsVectorLayer::draw( QgsRenderContext& rendererContext )
694694
.setSubsetOfAttributes( attributes );
695695

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

0 commit comments

Comments
 (0)