| 59 | } |
| 60 | |
| 61 | Time KeyCell::temporalDragMaxTime() const |
| 62 | { |
| 63 | //Time res(std::numeric_limits<int>::max()); // Caution: can overflow if compute deltas |
| 64 | Time res(1000); // TODO |
| 65 | |
| 66 | |
| 67 | InbetweenCellSet afterStar = temporalStarAfter(); |
| 68 | foreach(InbetweenCell * scell, afterStar) |
| 69 | { |
| 70 | Time t = scell->afterTime(); |
| 71 | if(t < res) |
| 72 | res = t; |
| 73 | } |
| 74 | |
| 75 | return res; |
| 76 | } |
| 77 | |
| 78 | void KeyCell::setTime(Time time) |
| 79 | { |