| 110 | } |
| 111 | |
| 112 | void CameraFollowMode::addToCameraPath() { |
| 113 | emit addCurrentToCameraPath(CAMERA_PATH_ID, m_current_cam_frame-1); |
| 114 | m_number_cam_frames++; |
| 115 | if(m_number_cam_frames == 1) m_current_cam_frame = 1; |
| 116 | else m_current_cam_frame++; |
| 117 | emit frameChanged(m_current_cam_frame); |
| 118 | emit changeNumberOfFrames(m_number_cam_frames); |
| 119 | } |
| 120 | |
| 121 | void CameraFollowMode::removeFromCameraPath() { |
| 122 | if(m_number_cam_frames>0) { |
nothing calls this directly
no outgoing calls
no test coverage detected