Closed ivoflipse closed 11 years ago
I simply added some padding to the data being put in (which btw doesn't seem to match up with the max value of the slider), but those values should be checked before using them, the last values might be NaN or 0
I found a 'bug' caused by the refactoring on the Contact class. I had changed the slicing to be more strict, removing some padding. However, I hadn't realized that Python slices up to, not including certain values. Hence, without the padding, your slice is basically too small and you lose some data. As you can see, now frame 48 has a COP, but there's even a frame 49. The slider seems to go to 50, but I think that's because it goes up to len(frames), so there's only data up to len(frames)-1 because we start at zero.
Frame 48:
Frame 49:
For some reason the COP isn't draw for the very last frame
Frame 47:
Frame 48:
![image](https://f.cloud.github.com/assets/485186/892485/13c97bb2-fa84-11e2-9d38-928e703e740d.png)