History

More stable than ever! Uses external GifCreator lib. Still frame timing issues.

Zach Fox committed 10 years ago

Commit fc21cae1 parent f726ea57 files · +54 −921Browse files

Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all

Unified · Split

interface/src/Application.cpp+2−2
@@ -5432,7 +5432,7 @@ void Application::toggleLogDialog() { · 5431 unmodified lines
54325432 // The frame will take too long to pack, the timer slot will
54335433 // not execute properly, and the GIF will appear sped-up.
54345434 // This is unacceptable and is probably a blocker for release.
5435−#define SNAPSNOT_ANIMATED_WIDTH (500)
5435+#define SNAPSNOT_ANIMATED_WIDTH (300)
54365436 #define SNAPSNOT_ANIMATED_FRAMERATE_FPS (50) // This value should divide evenly into 100
54375437 #define SNAPSNOT_ANIMATED_DURATION_SECS (3)
54385438
@@ -5490,7 +5490,7 @@ void Application::takeSnapshot(bool notify, float aspectRatio) { · 51 unmodified lines
54905490 qApp->_currentAnimatedSnapshotFrame++;
54915491
54925492 // If that was the last frame...
5493− if (qApp->_currentAnimatedSnapshotFrame == SNAPSNOT_ANIMATED_NUM_FRAMES)
5493+ if (qApp->_currentAnimatedSnapshotFrame >= SNAPSNOT_ANIMATED_NUM_FRAMES)
54945494 {
54955495 // Reset the current frame number
54965496 qApp->_currentAnimatedSnapshotFrame = 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t