Redraw the map when switching to collision editing
This commit is contained in:
parent
45d3e932ca
commit
aaae8674b5
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ void Editor::setEditingMap() {
|
||||||
void Editor::setEditingCollision() {
|
void Editor::setEditingCollision() {
|
||||||
current_view = collision_item;
|
current_view = collision_item;
|
||||||
if (collision_item) {
|
if (collision_item) {
|
||||||
|
collision_item->draw();
|
||||||
collision_item->setVisible(true);
|
collision_item->setVisible(true);
|
||||||
setConnectionsVisibility(true);
|
setConnectionsVisibility(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue