summaryrefslogtreecommitdiff
path: root/NT/src/graph.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2014-01-22 14:28:34 +0000
committerTim Redfern <tim@eclectronics.org>2014-01-22 14:28:34 +0000
commita879f37ff944cd7bf502f4e3520b7da3d8faf39b (patch)
tree630ee0e87764e5982a00524f045b51d486f3292a /NT/src/graph.cpp
parentc10e756720fe30ad2ffdcb54d83737aaad77190b (diff)
variable arrays working correctly
Diffstat (limited to 'NT/src/graph.cpp')
-rw-r--r--NT/src/graph.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/NT/src/graph.cpp b/NT/src/graph.cpp
index 65bd6c8..f774528 100644
--- a/NT/src/graph.cpp
+++ b/NT/src/graph.cpp
@@ -68,9 +68,8 @@ bool Graph::parse_json(string &data,string &media_path){
//
//node.create_links(nodes)
//will allow the nodes to be passed into each member of a variable array
+ node->create_connections(nodes);
nodes[node_id]=node;
- nodes[node_id]->create_connections(nodes);
-
}
else cerr << "ERROR: duplicate node '"<<node_id<<"' "<< endl;
}