Clear before loading the model data.
This commit is contained in:
parent
1e76cd0f5e
commit
066743bea0
1 changed files with 1 additions and 0 deletions
|
@ -301,6 +301,7 @@ void TileModel::clear()
|
||||||
|
|
||||||
void TileModel::onTBLoaded()
|
void TileModel::onTBLoaded()
|
||||||
{
|
{
|
||||||
|
clear();
|
||||||
loadTileSets();
|
loadTileSets();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue