fix map item render when collision tab is active
This commit is contained in:
parent
0e6432c20d
commit
f34aec824e
1 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,8 @@ void Editor::setEditingCollision() {
|
||||||
}
|
}
|
||||||
if (map_item) {
|
if (map_item) {
|
||||||
map_item->paintingMode = MapPixmapItem::PaintMode::Metatiles;
|
map_item->paintingMode = MapPixmapItem::PaintMode::Metatiles;
|
||||||
|
map_item->draw();
|
||||||
|
map_item->setVisible(true);
|
||||||
}
|
}
|
||||||
if (events_group) {
|
if (events_group) {
|
||||||
events_group->setVisible(false);
|
events_group->setVisible(false);
|
||||||
|
|
Loading…
Reference in a new issue