mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
[cad] Fix precision issues with angle constraint (fixes #17685)
This commit is contained in:
parent
dd739ac035
commit
3abf27f5ac
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user