diff --git a/libs/global/kis_algebra_2d.cpp b/libs/global/kis_algebra_2d.cpp
index 417e860..bb46e43 100644
--- a/libs/global/kis_algebra_2d.cpp
+++ b/libs/global/kis_algebra_2d.cpp
@@ -401,7 +401,12 @@ QVector<QPointF> intersectTwoCircles(const QPointF ¢er1, qreal r1,
pow2(x) - pow2(r2),
&y1, &y2);
- KIS_SAFE_ASSERT_RECOVER(result > 0) { return points; }
+ KIS_SAFE_ASSERT_RECOVER(result > 0) {
+ qDebug() << ppVar(center1) << ppVar(center2);
+ qDebug() << ppVar(r1) << ppVar(r2);
+
+ return points;
+ }
if (result == 1) {
points << QPointF(x, y1);
@@ -429,7 +434,13 @@ QVector<QPointF> intersectTwoCircles(const QPointF ¢er1, qreal r1,
pow2(C) - pow2(r1),
&x1, &x2);
- KIS_SAFE_ASSERT_RECOVER(result > 0) { return points; }
+ KIS_SAFE_ASSERT_RECOVER(result > 0) {
+ qDebug() << ppVar(center1) << ppVar(center2);
+ qDebug() << ppVar(r1) << ppVar(r2);
+ qDebug() << ppVar(A) << ppVar(C);
+
+ return points;
+ }
if (result == 1) {
points << QPointF(x1, C - x1 * A);