Retain external selection on map change (closes #291)
This commit is contained in:
parent
4b5b84ed36
commit
6251da65b2
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ void MetatileSelector::setTilesets(Tileset *primaryTileset, Tileset *secondaryTi
|
||||||
this->secondaryTileset = secondaryTileset;
|
this->secondaryTileset = secondaryTileset;
|
||||||
if (!this->selectionIsValid()) {
|
if (!this->selectionIsValid()) {
|
||||||
this->select(Project::getNumMetatilesPrimary() + this->secondaryTileset->metatiles->length() - 1);
|
this->select(Project::getNumMetatilesPrimary() + this->secondaryTileset->metatiles->length() - 1);
|
||||||
} else {
|
} else if (!this->externalSelection) {
|
||||||
updateSelectedMetatiles();
|
updateSelectedMetatiles();
|
||||||
}
|
}
|
||||||
this->draw();
|
this->draw();
|
||||||
|
|
Loading…
Reference in a new issue