allocate new map lastUpdatedBlockdata
This commit is contained in:
parent
3c5401551d
commit
9fb938939f
1 changed files with 1 additions and 0 deletions
|
@ -1207,6 +1207,7 @@ void Project::setNewMapBlockdata(Map *map) {
|
|||
blockdata->addBlock(qint16(0x3001));
|
||||
}
|
||||
map->layout->blockdata = blockdata;
|
||||
map->layout->lastCommitMapBlocks.blocks = new Blockdata;
|
||||
map->layout->lastCommitMapBlocks.blocks->copyFrom(map->layout->blockdata);
|
||||
map->layout->lastCommitMapBlocks.dimensions = QSize(map->getWidth(), map->getHeight());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue