Skip to content
Permalink
Browse files

[cad] Fix precision issues with angle constraint (fixes #17685)

  • Loading branch information
wonder-sk committed Jan 19, 2018
1 parent dd739ac commit 3abf27f5ac5929fe5982a4af247d566cad3ddafc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgscadutils.cpp
@@ -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;

0 comments on commit 3abf27f

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