Skip to content

Commit

Permalink
improved missing KdTree print
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldsteinlechner committed Feb 29, 2024
1 parent ec776f0 commit 7fdf368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OPCViewer.Base/KdTrees.fs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ module KdTrees =
|> Array.map (fun x -> x, h.kdTree_FileAbsPath x.Name 0 mode)

let missingKd0Paths = kd0Paths |> Array.filter (not << System.IO.File.Exists << snd)
Log.line "missing kd0 paths: %d/%d" missingKd0Paths.Length kd0Paths.Length
Log.line "[KdTrees] valid kd0 paths: %d/%d" missingKd0Paths.Length kd0Paths.Length

if not ignoreMasterKdTree && (File.Exists masterKdPath && not (Array.isEmpty missingKd0Paths)) && not forceRebuild then

Expand Down

0 comments on commit 7fdf368

Please sign in to comment.