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.
pull/193/head^2
Rob Cutmore 8 years ago
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…
Cancel
Save