Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -5432,7 +5432,7 @@ void Application::toggleLogDialog() { · 5431 unmodified lines | |||
| 5432 | // The frame will take too long to pack, the timer slot will | 5432 | // The frame will take too long to pack, the timer slot will |
| 5433 | // not execute properly, and the GIF will appear sped-up. | 5433 | // not execute properly, and the GIF will appear sped-up. |
| 5434 | // This is unacceptable and is probably a blocker for release. | 5434 | // This is unacceptable and is probably a blocker for release. |
| 5435 | #define SNAPSNOT_ANIMATED_WIDTH (500) | 5435 | #define SNAPSNOT_ANIMATED_WIDTH (300) |
| 5436 | #define SNAPSNOT_ANIMATED_FRAMERATE_FPS (50) // This value should divide evenly into 100 | 5436 | #define SNAPSNOT_ANIMATED_FRAMERATE_FPS (50) // This value should divide evenly into 100 |
| 5437 | #define SNAPSNOT_ANIMATED_DURATION_SECS (3) | 5437 | #define SNAPSNOT_ANIMATED_DURATION_SECS (3) |
| 5438 | 5438 | ||
| @@ -5490,7 +5490,7 @@ void Application::takeSnapshot(bool notify, float aspectRatio) { · 51 unmodified lines | |||
| 5490 | qApp->_currentAnimatedSnapshotFrame++; | 5490 | qApp->_currentAnimatedSnapshotFrame++; |
| 5491 | 5491 | ||
| 5492 | // If that was the last frame... | 5492 | // If that was the last frame... |
| 5493 | if (qApp->_currentAnimatedSnapshotFrame == SNAPSNOT_ANIMATED_NUM_FRAMES) | 5493 | if (qApp->_currentAnimatedSnapshotFrame >= SNAPSNOT_ANIMATED_NUM_FRAMES) |
| 5494 | { | 5494 | { |
| 5495 | // Reset the current frame number | 5495 | // Reset the current frame number |
| 5496 | qApp->_currentAnimatedSnapshotFrame = 0; | 5496 | qApp->_currentAnimatedSnapshotFrame = 0; |