Skip to content

Commit

Permalink
[cad] Fix precision issues with angle constraint (fixes #17685)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jan 19, 2018
1 parent dd739ac commit 3abf27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgscadutils.cpp
Expand Up @@ -202,7 +202,7 @@ QgsCadUtils::AlignMapPointOutput QgsCadUtils::alignMapPoint( const QgsPointXY &o
// 1. "hard" lock defined by the user
// 2. "soft" lock from common angle (e.g. 45 degrees)
bool angleLocked = false, angleRelative = false;
int angleValueDeg = 0;
double angleValueDeg = 0;
if ( ctx.angleConstraint.locked )
{
angleLocked = true;
Expand Down

0 comments on commit 3abf27f

Please sign in to comment.