mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 03:44:16 +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) {
|
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.
|
// Fix issues that the restoration process could produce.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user