feat: Add origin snap for sketch points and preview

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-14 22:04:21 -07:00
parent 2d3df3097b
commit d3cb5e36f9
2 changed files with 52 additions and 2 deletions

View File

@@ -90,6 +90,7 @@ private:
bool m_isDefiningLine = false;
gp_Pnt m_firstLinePoint;
QPoint m_currentMousePos;
bool m_isSnappingOrigin = false;
QMap<int, QSvgRenderer*> m_toolIcons;
QSvgRenderer* m_cursorRenderer = nullptr;