add node breaks connections for whatever reason...

This commit is contained in:
Sebastian
2024-10-23 03:25:57 +02:00
parent 15ee01cb56
commit 2a6bd408d4
4 changed files with 102 additions and 68 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ class ConnectionManager{
}
void addConnection(Node *from, Node *to){
connections.emplace(connections.end(), from, to);
connections.emplace_back(from, to);
}
void drawConnections(Vec2D<float> *mouse_pos, Camera2D *cam){