mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Editor: reset camera after cell drag and drop
When replacing a viewed cell via drag and drop the camera position is not updated to better view the new cell. This flags the camera position as not being set so a better default is set.
This commit is contained in:
parent
ab8294b281
commit
f7664d4bb9
@ -92,6 +92,7 @@ bool CSVRender::UnpagedWorldspaceWidget::handleDrop (const std::vector<CSMWorld:
|
||||
mCellId = universalIdData.begin()->getId();
|
||||
|
||||
mCell.reset (new Cell (getDocument().getData(), mRootNode, mCellId));
|
||||
mCamPositionSet = false;
|
||||
|
||||
update();
|
||||
emit cellChanged(*universalIdData.begin());
|
||||
|
Loading…
x
Reference in New Issue
Block a user