aboutsummaryrefslogtreecommitdiff
path: root/src/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera.h')
-rw-r--r--src/camera.h8
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()
{