Repository navigation
[Synfig Studio] Fixed crash when frame rendering throws exception while animating - #1861
Conversation
a50b592 to
8583942
Compare
8583942 to
d163ee0
Compare
I see it displays error message while playback. Maybe we should display workarea warning instead (so playback willnot be interrupted)? Thank you for the fix! ^__^ |
|
Well, I thought it would be good to draw user attention while on playback :) I'll try to make the required changes |
|
Don't know if it might be worth stopping playback if an error occurs? |
If this exception breaks rendering operation (I mean when doing export via CLI or GUI), then, yes - it is better to show error message and stop playback. |
When rendering the final animation, the CLI and GUI (via render dialog) stop at broken frame (already with a proper error report). |
In this case I agree - during playback it is better to show a warning dialog AND stop the playback. ^__^ |
|
And I wasn't able to show the frame error in workarea while on playback :P |
|
Done :) |
Well, the GUI version only showed a generic string… so I detailed it better in last commit |
|
I have tested latest commit and found one issue: it is not possible to playback anymore after warning appears for the first time. |
fixed. (force-pushed the new commit to better wording in comments) |
402da56 to
43132d8
Compare
|
Testing now! ^__^ |
morevnaproject
left a comment
There was a problem hiding this comment.
Works perfectly now! Thank you!
It now displays the exception message inside WorkArea when the current frame thrown an exception It also displays an error dialog while animating in WorkArea fix crash-bug reported in forums by lgolden: https://forums.synfig.org/t/lst-file-from-papagayo-crashes-synfig/11540
43132d8 to
ba89fe0
Compare
…g throws exception while animating [Synfig Studio] Fixed crash when frame rendering throws exception while animating (cherry picked from commit f47d674)
…g throws exception while animating [Synfig Studio] Fixed crash when frame rendering throws exception while animating (cherry picked from commit f47d674)
…ws exception while animating [Synfig Studio] Fixed crash when frame rendering throws exception while animating (cherry picked from commit f47d674)
…g throws exception while animating [Synfig Studio] Fixed crash when frame rendering throws exception while animating (cherry picked from commit f47d674)
…g throws exception while animating [Synfig Studio] Fixed crash when frame rendering throws exception while animating (cherry picked from commit f47d674)
It now displays the exception message inside WorkArea when the current frame throws an exception.
It also displays an error dialog while animating in WorkArea
Description
If a frame throws an exception/error, Synfig shows its message:
in console/prompt
in work area at problematic frame:

via error message dialog, while animating:

fix crash-bug reported in forums by lgolden:
https://forums.synfig.org/t/lst-file-from-papagayo-crashes-synfig/11540