diff options
Diffstat (limited to 'src/camera.h')
-rw-r--r-- | src/camera.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/camera.h b/src/camera.h index e4c1d0b25..ca2e4ddcc 100644 --- a/src/camera.h +++ b/src/camera.h @@ -160,7 +160,13 @@ public: else m_camera_mode = CAMERA_MODE_FIRST; } - + + // Set the current camera mode + inline void setCameraMode(CameraMode mode) + { + m_camera_mode = mode; + } + //read the current camera mode inline CameraMode getCameraMode() { |