TrackPerson inserting with interpolation not working as expected
When inserting a frame to the TrackPerson with missing frames in between, the expected behaviour, is that the points inbetween will be interpolated.
But this is not happening!
To reproduce:
- Create TrackPerson
pwith point at frame 0. -
p.insertAtFrame(10, someOtherPoint, _nr, false)(_nr can be set however you like,false: do not extrapolate)
Expected Behaviour:
-
p.trackPointExists(frame) == truefor all frames from0to10
Real Behaviour:
- fail at
p.trackPointExists(7)-> So in total 4 missing trackpoints!
I will commit a failing testcase on a branch for this issue.