Browse Source

Fix bug where map connections didn't visually update when switching back to the collision view

Marcus Huderle 6 years ago
parent
commit
37903a5acb
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      editor.cpp

+ 1
- 0
editor.cpp View File

58
 void Editor::setEditingCollision() {
58
 void Editor::setEditingCollision() {
59
     current_view = collision_item;
59
     current_view = collision_item;
60
     if (collision_item) {
60
     if (collision_item) {
61
+        displayMapConnections();
61
         collision_item->draw();
62
         collision_item->draw();
62
         collision_item->setVisible(true);
63
         collision_item->setVisible(true);
63
         setConnectionsVisibility(true);
64
         setConnectionsVisibility(true);