forked from mirror/openmw-tes3mp
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue