| 1071 | } |
| 1072 | |
| 1073 | void |
| 1074 | Node::connectOutput(bool useGuiValues, |
| 1075 | const NodePtr& output) |
| 1076 | { |
| 1077 | assert(output); |
| 1078 | |
| 1079 | { |
| 1080 | QMutexLocker l(&_imp->outputsMutex); |
| 1081 | if (!useGuiValues) { |
| 1082 | _imp->outputs.push_back(output); |
| 1083 | _imp->guiOutputs.push_back(output); |
| 1084 | } else { |
| 1085 | _imp->guiOutputs.push_back(output); |
| 1086 | } |
| 1087 | } |
| 1088 | Q_EMIT outputsChanged(); |
| 1089 | } |
| 1090 | |
| 1091 | int |
| 1092 | Node::disconnectInput(int inputNumber) |
no test coverage detected