Handle the case where sensor is plugged back

ui-window
Nicolas FRANCO 1 year ago
parent ec49044cb3
commit c7e19c59a4

@ -78,6 +78,11 @@ namespace KinectConnection
{ {
this.StopSensor(); this.StopSensor();
} }
// if its plugged back => trigger the start method
else
{
this.StartSensor();
}
} }
} }
} }

Loading…
Cancel
Save