Sketcher: Fix snap to axis not working (#26558)
When snapping to an axis, snapToObject returns false because we should also be able to snap to grid at the same time. Recent changes made the end return to be the initial unmodified position. Breaking snap to axis
This commit is contained in:
@@ -221,7 +221,7 @@ Base::Vector2d SnapManager::snap(Base::Vector2d inputPos, SnapType mask)
|
||||
return snapPos;
|
||||
}
|
||||
|
||||
return inputPos;
|
||||
return snapPos;
|
||||
}
|
||||
|
||||
bool SnapManager::snapAtAngle(Base::Vector2d inputPos, Base::Vector2d& snapPos)
|
||||
|
||||
Reference in New Issue
Block a user