When copying the camera position, also copy the ortho state.

This commit is contained in:
Alistair Buxton 2017-06-21 18:51:43 +01:00
parent 9aea871fe0
commit 82204944ab

View file

@ -473,6 +473,7 @@ void lcCamera::CopyPosition(const lcCamera* camera)
mPosition = camera->mPosition;
mTargetPosition = camera->mTargetPosition;
mUpVector = camera->mUpVector;
mState |= (camera->mState&LC_CAMERA_ORTHO);
}
void lcCamera::DrawInterface(lcContext* Context) const