Commit 30837324 authored by Don Gagne's avatar Don Gagne

Fix ove-signalling

parent 6cf5b626
......@@ -302,9 +302,10 @@ void QGCMapPolygon::_updateCenter(void)
}
center = _coordFromPointF(QPointF(centroid.x() / polygonF.count(), centroid.y() / polygonF.count()));
}
_center = center;
emit centerChanged(center);
if (_center != center) {
_center = center;
emit centerChanged(center);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment