Skip to content
Permalink
Browse files

[Fix #7574] [rubberband] Artifacts when using a rubberband with a sin…

…gle point
  • Loading branch information
m-kuhn committed Apr 29, 2013
1 parent a9a58fa commit a2b2e169377324e1ec87fcfc30873c4525264dd6
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsrubberband.cpp
@@ -484,8 +484,8 @@ void QgsRubberBand::updateRect()
{
return;
}
QgsRectangle r( it->x() + mTranslationOffsetX, it->y() + mTranslationOffsetY,
it->x() + mTranslationOffsetX, it->y() + mTranslationOffsetY );
QgsRectangle r ( it->x() + mTranslationOffsetX - s - p, it->y() + mTranslationOffsetY - s - p,
it->x() + mTranslationOffsetX + s + p, it->y() + mTranslationOffsetY + s + p );

for ( int i = 0; i < mPoints.size(); ++i )
{

0 comments on commit a2b2e16

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