| 296 | } |
| 297 | |
| 298 | NodeBase* NodeBase::getParentNode() const |
| 299 | { |
| 300 | if (parentNode != nullptr) |
| 301 | { |
| 302 | return parentNode; |
| 303 | } |
| 304 | |
| 305 | auto v = v_data.getParent().getParent(); |
| 306 | |
| 307 | if (v.getType() == PropertyIds::Node) |
| 308 | { |
| 309 | return getRootNetwork()->getNodeForValueTree(v); |
| 310 | } |
| 311 | |
| 312 | return nullptr; |
| 313 | } |
| 314 | |
| 315 | |
| 316 | juce::ValueTree NodeBase::getValueTree() const |
no test coverage detected