feat: Hide sketch grid when saving a sketch
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -147,6 +147,12 @@ void ViewportWidget::startSketch(SketchPlane plane)
|
||||
update();
|
||||
}
|
||||
|
||||
void ViewportWidget::saveSketch()
|
||||
{
|
||||
m_currentPlane = SketchPlane::NONE;
|
||||
update();
|
||||
}
|
||||
|
||||
QVector3D ViewportWidget::project(const QVector3D& worldCoord, const QMatrix4x4& modelView, const QMatrix4x4& projection, const QRect& viewport)
|
||||
{
|
||||
QVector4D clipCoord = projection * modelView * QVector4D(worldCoord, 1.0);
|
||||
|
||||
Reference in New Issue
Block a user