Commits

Cliff Biffle  committed 661a5f7

Fixed an oversight in the new KVKinectHardware impl: it wasn't setting its own running flag, so it'd always exit after a couple frames.

  • Participants
  • Parent commits f7fe6c7

Comments (0)

Files changed (1)

File KVKinectHardware.m

 {
   [[NSThread currentThread] setName: @"kinect-io-thread"];
   pthread_setname_np("kinect-io-thread");
+  
+  running = YES;
+  
 	if(freenect_init(&context, NULL) >= 0) {
     if(freenect_open_device(context, &device, 0) >= 0) {
       freenect_set_user(device, self);