| 1580 | } |
| 1581 | |
| 1582 | void Graph::copyNodeGraph(UiNodePtr origGraph, UiNodePtr copyGraph) |
| 1583 | { |
| 1584 | copyGraph->getNodeGraph()->copyContentFrom(origGraph->getNodeGraph()); |
| 1585 | std::vector<mx::InputPtr> inputs = copyGraph->getNodeGraph()->getActiveInputs(); |
| 1586 | for (mx::InputPtr input : inputs) |
| 1587 | { |
| 1588 | std::string newName = _graphDoc->createValidChildName(input->getName()); |
| 1589 | input->setName(newName); |
| 1590 | } |
| 1591 | } |
| 1592 | |
| 1593 | void Graph::copyInputs() |
| 1594 | { |
nothing calls this directly
no test coverage detected