Loading isis/src/control/objs/ControlNet/ControlNet.cpp +13 −5 Original line number Diff line number Diff line Loading @@ -403,10 +403,16 @@ namespace Isis { // If the edge doesn't already exist, this adds and returns the edge. // If the edge already exists, this just returns it. (The use of a set // forces the edges to be unique.) ImageConnection connection = boost::add_edge(m_vertexMap[serial], ImageConnection connection; bool edgeAdded; boost::tie(connection, edgeAdded) = boost::add_edge(m_vertexMap[serial], m_vertexMap[sn], m_controlGraph).first; m_controlGraph); m_controlGraph[connection].strength++; if (edgeAdded) { emit networkModified(GraphModified); } } } } Loading Loading @@ -603,9 +609,11 @@ namespace Isis { // If the edge doesn't already exist, this adds and returns the edge. // If the edge already exists, this just returns it. (The use of a set // forces the edges to be unique.) ImageConnection connection = boost::add_edge(m_vertexMap[sourceSerial], ImageConnection connection; bool edgeAdded; boost::tie(connection, edgeAdded) = boost::add_edge(m_vertexMap[sourceSerial], m_vertexMap[targetSerial], m_controlGraph).first; m_controlGraph); m_controlGraph[connection].strength++; if (edgeAdded) { Loading Loading
isis/src/control/objs/ControlNet/ControlNet.cpp +13 −5 Original line number Diff line number Diff line Loading @@ -403,10 +403,16 @@ namespace Isis { // If the edge doesn't already exist, this adds and returns the edge. // If the edge already exists, this just returns it. (The use of a set // forces the edges to be unique.) ImageConnection connection = boost::add_edge(m_vertexMap[serial], ImageConnection connection; bool edgeAdded; boost::tie(connection, edgeAdded) = boost::add_edge(m_vertexMap[serial], m_vertexMap[sn], m_controlGraph).first; m_controlGraph); m_controlGraph[connection].strength++; if (edgeAdded) { emit networkModified(GraphModified); } } } } Loading Loading @@ -603,9 +609,11 @@ namespace Isis { // If the edge doesn't already exist, this adds and returns the edge. // If the edge already exists, this just returns it. (The use of a set // forces the edges to be unique.) ImageConnection connection = boost::add_edge(m_vertexMap[sourceSerial], ImageConnection connection; bool edgeAdded; boost::tie(connection, edgeAdded) = boost::add_edge(m_vertexMap[sourceSerial], m_vertexMap[targetSerial], m_controlGraph).first; m_controlGraph); m_controlGraph[connection].strength++; if (edgeAdded) { Loading