mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 04:13:50 +00:00
Fixed a problem in gui_feedback() where the CurrentSpriteReader could be locked.
This commit is contained in:
parent
2ed2ce9545
commit
d0514884de
@ -493,9 +493,14 @@ void gui_feedback()
|
|||||||
if (next_idle_flags & REFRESH_FULL_SCREEN) {
|
if (next_idle_flags & REFRESH_FULL_SCREEN) {
|
||||||
next_idle_flags ^= REFRESH_FULL_SCREEN;
|
next_idle_flags ^= REFRESH_FULL_SCREEN;
|
||||||
|
|
||||||
|
try {
|
||||||
const CurrentSpriteReader sprite(UIContext::instance());
|
const CurrentSpriteReader sprite(UIContext::instance());
|
||||||
update_screen_for_sprite(sprite);
|
update_screen_for_sprite(sprite);
|
||||||
}
|
}
|
||||||
|
catch (...) {
|
||||||
|
// do nothing
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* record file if is necessary */
|
/* record file if is necessary */
|
||||||
rec_screen_poll();
|
rec_screen_poll();
|
||||||
|
Loading…
Reference in New Issue
Block a user