MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / removeFromNodes

Method removeFromNodes

QtNodeEditor/src/Connection.cpp:247–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245
246
247void
248Connection::
249removeFromNodes() const
250{
251 if (_inNode)
252 _inNode->nodeState().eraseConnection(PortType::In, _inPortIndex, id());
253
254 if (_outNode)
255 _outNode->nodeState().eraseConnection(PortType::Out, _outPortIndex, id());
256}
257
258
259ConnectionGraphicsObject&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected