| 130 | |
| 131 | |
| 132 | void |
| 133 | Connection:: |
| 134 | setRequiredPort(PortType dragging) |
| 135 | { |
| 136 | _connectionState.setRequiredPort(dragging); |
| 137 | |
| 138 | switch (dragging) |
| 139 | { |
| 140 | case PortType::Out: |
| 141 | _outNode = nullptr; |
| 142 | _outPortIndex = INVALID; |
| 143 | break; |
| 144 | |
| 145 | case PortType::In: |
| 146 | _inNode = nullptr; |
| 147 | _inPortIndex = INVALID; |
| 148 | break; |
| 149 | |
| 150 | default: |
| 151 | break; |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | |
| 156 | PortType |
nothing calls this directly
no test coverage detected