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
 void Editor::setEditingCollision() {
57
 void Editor::setEditingCollision() {
58
     current_view = collision_item;
58
     current_view = collision_item;
59
     if (collision_item) {
59
     if (collision_item) {
60
+        collision_item->draw();
60
         collision_item->setVisible(true);
61
         collision_item->setVisible(true);
61
         setConnectionsVisibility(true);
62
         setConnectionsVisibility(true);
62
     }
63
     }