Commit 51502a09 authored by Chae Ho Shin's avatar Chae Ho Shin
parents e2d48911 4b5563af
......@@ -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