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:
@@ -439,11 +439,9 @@ void ViewportWidget::mouseMoveEvent(QMouseEvent *event)
|
|||||||
m_panX += dx / 100.0f;
|
m_panX += dx / 100.0f;
|
||||||
m_panY -= dy / 100.0f;
|
m_panY -= dy / 100.0f;
|
||||||
} else {
|
} else {
|
||||||
if (m_currentPlane == SketchPlane::NONE) {
|
// Rotate
|
||||||
// Rotate
|
m_xRot += 8 * dy;
|
||||||
m_xRot += 8 * dy;
|
m_yRot += 8 * dx;
|
||||||
m_yRot += 8 * dx;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lastPos = event->pos();
|
lastPos = event->pos();
|
||||||
|
|||||||
Reference in New Issue
Block a user