feat(junction): establish stable complex junction structure
This commit is contained in:
1 parent
bd8b55e58b
commit
0a5a229ce3
22 files changed
+1386
-125
No files matched your search
@@ -1093,6 +1093,8 @@ function makeJunctionHandles(model, junctionData, constraints) {
|
||||
*/
|
||||
function selectHandles(handles, model, selection) {
|
||||
if (!selection || !selection.type) return handles;
|
||||
// Cluster object identities are read-only until their geometry edit path exists.
|
||||
if (selection.type === 'cluster') return [];
|
||||
if (selection.type === 'segment') {
|
||||
const segmentOf = new Map((model.roads || []).map((road) => [road.id, road.segmentId]));
|
||||
const wanted = String(selection.id);
|
||||
|
||||
Reference in new issue
Block a user