diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-28 19:04:21 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-28 19:04:21 +0000 |
commit | 508ffe80c9991cc76f4fa37dd2fa21746abe3a89 (patch) | |
tree | fe5ca4a08a246191432c304708ce76fe1c3905d6 /ui/builders/freeExtend.cpp | |
parent | Create the last group in jsonParse.ll (diff) | |
parent | Fix check for bulk removal (diff) | |
download | ilt-508ffe80c9991cc76f4fa37dd2fa21746abe3a89.tar.bz2 ilt-508ffe80c9991cc76f4fa37dd2fa21746abe3a89.tar.xz ilt-508ffe80c9991cc76f4fa37dd2fa21746abe3a89.zip |
Diffstat (limited to 'ui/builders/freeExtend.cpp')
-rw-r--r-- | ui/builders/freeExtend.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/builders/freeExtend.cpp b/ui/builders/freeExtend.cpp index ab5a998..aff7cd7 100644 --- a/ui/builders/freeExtend.cpp +++ b/ui/builders/freeExtend.cpp @@ -16,17 +16,17 @@ BuilderFreeExtend::move( { if (p1) { if (const auto p = network->intersectRayNodes(ray)) { - candidateLinks.objects = network->candidateJoins(*p1, p->pos); + candidateLinks = network->candidateJoins(*p1, p->pos); } else if (const auto p = geoData->intersectRay(ray)) { - candidateLinks.objects = network->candidateExtend(*p1, p->first); + candidateLinks = network->candidateExtend(*p1, p->first); } else { - candidateLinks.removeAll(); + candidateLinks.clear(); } } else { - candidateLinks.removeAll(); + candidateLinks.clear(); } } |