Sfoglia il codice sorgente

Redraw the map when switching to collision editing

yenatch 6 anni fa
parent
commit
aaae8674b5
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      editor.cpp

+ 1
- 0
editor.cpp Vedi 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
     }