| 1529 | } |
| 1530 | |
| 1531 | void |
| 1532 | NodeGroup::getInputs(std::vector<NodePtr >* inputs, |
| 1533 | bool useGuiConnexions) const |
| 1534 | { |
| 1535 | QMutexLocker k(&_imp->nodesLock); |
| 1536 | |
| 1537 | if (!useGuiConnexions) { |
| 1538 | for (U32 i = 0; i < _imp->inputs.size(); ++i) { |
| 1539 | NodePtr input = _imp->inputs[i].lock(); |
| 1540 | if (!input) { |
| 1541 | continue; |
| 1542 | } |
| 1543 | inputs->push_back(input); |
| 1544 | } |
| 1545 | } else { |
| 1546 | for (U32 i = 0; i < _imp->guiInputs.size(); ++i) { |
| 1547 | NodePtr input = _imp->guiInputs[i].lock(); |
| 1548 | if (!input) { |
| 1549 | continue; |
| 1550 | } |
| 1551 | inputs->push_back(input); |
| 1552 | } |
| 1553 | } |
| 1554 | } |
| 1555 | |
| 1556 | void |
| 1557 | NodeGroup::purgeCaches() |
no test coverage detected