Skip to content

Commit 3b9c466

Browse files
committed
reset image status in ToFCameraMITKPlayerController
1 parent 8b92e4a commit 3b9c466

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Modules/ToFHardware/mitkToFCameraMITKPlayerController.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ bool ToFCameraMITKPlayerController::OpenCameraConnection()
107107
{
108108
if(!this->m_ConnectionCheck)
109109
{
110+
// reset the image status before connection
111+
m_ImageStatus = std::vector<bool>(4,true);
110112
try
111113
{
112114
if (this->m_DistanceImageFileName.empty() &&

0 commit comments

Comments
 (0)