| 492 | } |
| 493 | |
| 494 | void PatchCable::ShowQuickspawnForCable() |
| 495 | { |
| 496 | Release(); |
| 497 | |
| 498 | TheSynth->GetQuickSpawn()->ShowSpawnCategoriesPopupForCable(this); |
| 499 | if (mTarget == nullptr) //if we're currently connected to nothing |
| 500 | { |
| 501 | mOwner->SetPatchCableTarget(this, TheSynth->GetQuickSpawn()->GetMainContainerFollower(), true); |
| 502 | } |
| 503 | else //if we're inserting |
| 504 | { |
| 505 | SetTempDrawTarget(TheSynth->GetQuickSpawn()->GetMainContainerFollower()); |
| 506 | TheSynth->GetQuickSpawn()->SetTempConnection(mTarget, GetConnectionType()); |
| 507 | } |
| 508 | TheSynth->GetQuickSpawn()->GetMainContainerFollower()->UpdateLocation(); |
| 509 | } |
| 510 | |
| 511 | IClickable* PatchCable::GetDropTarget() |
| 512 | { |
no test coverage detected