mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 14:40:02 +00:00
Fix reversed logic in Document::duplicate().
This commit is contained in:
parent
a17c767e65
commit
4aa039d40b
@ -364,7 +364,7 @@ Document* Document::duplicate(DuplicateType type) const
|
||||
|
||||
// Configure the layer as background only if the original
|
||||
// sprite has a background layer.
|
||||
if (sourceSprite->getBackgroundLayer() == NULL)
|
||||
if (sourceSprite->getBackgroundLayer() != NULL)
|
||||
flatLayer->configureAsBackground();
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user