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:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user