mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 13:15:57 +00:00
Fix flycam and arcball not having same reset parameters
* Both were centring around the AABB but arcball had a scale applied to the distance
This commit is contained in:
@@ -7571,7 +7571,7 @@ void BufferViewer::on_autofitCamera_clicked()
|
||||
mid = transformedMid;
|
||||
}
|
||||
|
||||
mid.z -= len;
|
||||
mid.z -= len * 0.7f;
|
||||
|
||||
m_Flycam->Reset(mid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user