Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 1 file). Show all
Unified · Split
| @@ -705,7 +705,7 @@ Throttle::Throttle() : · 704 unmodified lines | |||
| 705 | bool Throttle::shouldThrottle(int bytes) { | 705 | bool Throttle::shouldThrottle(int bytes) { |
| 706 | // clear expired buckets | 706 | // clear expired buckets |
| 707 | qint64 now = QDateTime::currentMSecsSinceEpoch(); | 707 | qint64 now = QDateTime::currentMSecsSinceEpoch(); |
| 708 | while (!_buckets.isEmpty() && _buckets.first().first >= now) { | 708 | while (!_buckets.isEmpty() && now >= _buckets.first().first) { |
| 709 | _total -= _buckets.takeFirst().second; | 709 | _total -= _buckets.takeFirst().second; |
| 710 | } | 710 | } |
| 711 | 711 | ||