fix: Always allow camera rotation regardless of sketch plane activity

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-15 10:30:12 -07:00
parent 91d1a60343
commit d2fe4226ea

View File

@@ -439,13 +439,11 @@ void ViewportWidget::mouseMoveEvent(QMouseEvent *event)
m_panX += dx / 100.0f;
m_panY -= dy / 100.0f;
} else {
if (m_currentPlane == SketchPlane::NONE) {
// Rotate
m_xRot += 8 * dy;
m_yRot += 8 * dx;
}
}
}
lastPos = event->pos();
update();
}