OpenMW-CS: Orbit Camera rotation center not updated when loading new cells from the region map
The region map allows the user to select cells and view them in the 3d viewport (from the right click menu). When initially loading a cell, the orbit camera is centered on the cell and behaves as expected. When loading another cell, which is further away from the current one, the orbit camera movement becomes weird. The reason for this is that the camera still uses the initial center it had when the first cell was opened. This center is now far away, resulting in erratic camera rotation.
Steps to reproduce:
- View a cell from the region map and rotate the view
- View another cell from the region map, preferably one that's far away from the first opened cell
- Rotate the view and see the newly loaded cell disappear from the view
This doesn't seem to happen when loading cells from a table. There the camera center updates properly.