Pass terrain data when creating path focus targets
This commit is contained in:
@@ -632,7 +632,7 @@ export function resolveViewportFocusTarget(document: SceneDocument, selection: E
|
|||||||
const path = document.paths[selectedPathId];
|
const path = document.paths[selectedPathId];
|
||||||
|
|
||||||
if (path !== undefined) {
|
if (path !== undefined) {
|
||||||
return createPathFocusTarget(path);
|
return createPathFocusTarget(path, getTerrains(document.terrains));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user