mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +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
|
// Configure the layer as background only if the original
|
||||||
// sprite has a background layer.
|
// sprite has a background layer.
|
||||||
if (sourceSprite->getBackgroundLayer() == NULL)
|
if (sourceSprite->getBackgroundLayer() != NULL)
|
||||||
flatLayer->configureAsBackground();
|
flatLayer->configureAsBackground();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user