mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-17 13:20:45 +00:00
Fix bug undoing/redoing pixel movements with several mask movements
If we call updateDocumentMask() in this point, we'll leave a sequence of cmds: SetMask(old mask, new mask) -> ClearMask(new mask) And we need the opposite: ClearMask(old mask) -> SetMask(old mask, new mask) This bug was introduced in 35229e99a6196d71b90ef2762abb32b0a164f594
This commit is contained in:
parent
617284b518
commit
e0020d36f2
@ -88,9 +88,7 @@ PixelsMovement::PixelsMovement(
|
||||
// and its owner could destroy our new "extra cel".
|
||||
ASSERT(!m_document->getExtraCel());
|
||||
redrawExtraImage();
|
||||
|
||||
redrawCurrentMask();
|
||||
updateDocumentMask();
|
||||
}
|
||||
|
||||
PixelsMovement::~PixelsMovement()
|
||||
|
Loading…
x
Reference in New Issue
Block a user