From a224cf474b7685facd169b1b602faf88ab960c05 Mon Sep 17 00:00:00 2001 From: nifranco Date: Mon, 15 Jan 2024 18:08:21 +0100 Subject: [PATCH] FIX : Kinect Available/Not Available working --- KinectConnection/KinectManager.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/KinectConnection/KinectManager.cs b/KinectConnection/KinectManager.cs index 8433ebb..eedf766 100644 --- a/KinectConnection/KinectManager.cs +++ b/KinectConnection/KinectManager.cs @@ -64,17 +64,6 @@ namespace KinectConnection { this.StatusText = this.kinectSensor.IsAvailable ? "Kinect Available" : "Kinect Not Available"; this.Status = this.kinectSensor.IsAvailable; - - // if sensor is unplugged => trigger the stop method - if (!this.kinectSensor.IsAvailable) - { - this.StopSensor(); - } - // if its plugged back => trigger the start method - else - { - this.StartSensor(); - } } } }