mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 04:19:12 +00:00
Fix "Auto" mode when there are linked cels in a tilemap layer
This commit is contained in:
parent
540e5c90d9
commit
e5925ffb15
@ -102,7 +102,7 @@ void create_region_with_differences_templ(const Image* a,
|
||||
template<typename UnaryFunction>
|
||||
void for_each_tile_using_tileset(Tileset* tileset, UnaryFunction f)
|
||||
{
|
||||
for (Cel* cel : tileset->sprite()->cels()) {
|
||||
for (Cel* cel : tileset->sprite()->uniqueCels()) {
|
||||
if (!cel->layer()->isTilemap() ||
|
||||
static_cast<LayerTilemap*>(cel->layer())->tileset() != tileset)
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user