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
5432// The frame will take too long to pack, the timer slot will5432// 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 1005436#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 number5495 // Reset the current frame number
5496 qApp->_currentAnimatedSnapshotFrame = 0;5496 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