Commit 4b5563af authored by 16서원빈's avatar 16서원빈

Error on Kinect not usable condition

parent c82ef40c
......@@ -37,6 +37,9 @@ public class MotionView : MonoBehaviour {
MotionState DetermineState()
{
if (body == null)
return MotionState.UNKNOWN;
int idx;
for(idx = 0; idx < body.Length; ++idx)
if (body[idx] != null && body[idx].IsTracked)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment