feat: Display sketch grid preview on plane highlight

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-15 11:21:22 -07:00
parent 5be7c25a0d
commit 58d154b4ff

View File

@@ -136,6 +136,9 @@ void ViewportWidget::paintGL()
glLoadMatrixf(model.constData()); glLoadMatrixf(model.constData());
if (m_isSelectingPlane) { if (m_isSelectingPlane) {
if (m_highlightedPlane != SketchPlane::NONE) {
m_sketchGrid->paintGL(static_cast<SketchGrid::SketchPlane>(m_highlightedPlane), projection, model);
}
drawSelectionPlanes(); drawSelectionPlanes();
} }