Browse Source

Redraw the map when switching to collision editing

yenatch 6 years ago
parent
commit
aaae8674b5
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      editor.cpp

+ 1
- 0
editor.cpp View File

@@ -57,6 +57,7 @@ void Editor::setEditingMap() {
57 57
 void Editor::setEditingCollision() {
58 58
     current_view = collision_item;
59 59
     if (collision_item) {
60
+        collision_item->draw();
60 61
         collision_item->setVisible(true);
61 62
         setConnectionsVisibility(true);
62 63
     }