mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +00:00
Fix recovering of old crashed sessions having sprites containing slices
Without this fix a recovering thread could get stuck in an infinite loop when reading the slices of a sprite created with a doc format version lesser than 2.
This commit is contained in:
parent
046b68061a
commit
01c69a4cf7
@ -521,7 +521,7 @@ private:
|
||||
}
|
||||
|
||||
Slice* readSlice(std::ifstream& s) {
|
||||
return read_slice(s, false);
|
||||
return read_slice(s, false, m_docFormatVer);
|
||||
}
|
||||
|
||||
// Fix issues that the restoration process could produce.
|
||||
|
Loading…
Reference in New Issue
Block a user