mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 18:00:26 +00:00
Fix comparison of layer flags between backup and sprite on memory
This commit is contained in:
parent
0b4e24b29d
commit
7f487c1294
@ -136,7 +136,8 @@ DocDiff compare_docs(const Doc* a,
|
||||
|
||||
if (aLay->type() != bLay->type() ||
|
||||
aLay->name() != bLay->name() ||
|
||||
aLay->flags() != bLay->flags() ||
|
||||
((int(aLay->flags()) & int(LayerFlags::PersistentFlagsMask)) !=
|
||||
(int(bLay->flags()) & int(LayerFlags::PersistentFlagsMask))) ||
|
||||
(aLay->isImage() && bLay->isImage() &&
|
||||
(((const LayerImage*)aLay)->opacity() != ((const LayerImage*)bLay)->opacity())) ||
|
||||
(aLay->isTilemap() && bLay->isTilemap() &&
|
||||
|
Loading…
Reference in New Issue
Block a user