mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-03 21:46:20 +00:00
Remove unused flag ExpandCelCanvas::UseModifiedRegionAsUndoInfo
This commit is contained in:
parent
d73a67dde7
commit
4d6f4434cd
@ -525,12 +525,6 @@ public:
|
||||
m_tx,
|
||||
ExpandCelCanvas::Flags(
|
||||
ExpandCelCanvas::NeedsSource |
|
||||
// If the tool is freehand-like, we can use the modified
|
||||
// region directly as undo information to save the modified
|
||||
// pixels. See ExpandCelCanvas::commit() for details about this flag.
|
||||
(getController()->isFreehand() ?
|
||||
ExpandCelCanvas::UseModifiedRegionAsUndoInfo:
|
||||
ExpandCelCanvas::None) |
|
||||
(m_layer->isTilemap() &&
|
||||
(!m_tilesMode || m_ink->isSelection()) ?
|
||||
ExpandCelCanvas::PixelsBounds:
|
||||
|
@ -46,10 +46,9 @@ namespace app {
|
||||
enum Flags {
|
||||
None = 0,
|
||||
NeedsSource = 1,
|
||||
UseModifiedRegionAsUndoInfo = 2,
|
||||
// Use tiles mode but with pixels bounds in dst image (e.g. for
|
||||
// selection preview)
|
||||
PixelsBounds = 4,
|
||||
PixelsBounds = 2,
|
||||
};
|
||||
|
||||
ExpandCelCanvas(Site site, Layer* layer,
|
||||
|
Loading…
Reference in New Issue
Block a user