Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix some curved labels randomly disappear at certain scales
Refs #12173
  • Loading branch information
nyalldawson committed May 30, 2019
1 parent b334fc4 commit 0b451b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/pal/geomfunction.cpp
Expand Up @@ -381,7 +381,7 @@ void GeomFunction::findLineCircleIntersection( double cx, double cy, double radi
double C = ( x1 - cx ) * ( x1 - cx ) + ( y1 - cy ) * ( y1 - cy ) - radius * radius;

double det = B * B - 4 * A * C;
if ( A <= 0.0000001 || det < 0 )
if ( A <= 0.000000000001 || det < 0 )
// Should never happen, No real solutions.
return;

Expand Down

0 comments on commit 0b451b2

Please sign in to comment.