Skip to content

Commit 2da3a20

Browse files
fix exception in Queries.QueryCell (backported from 5.2.15)
1 parent 1e193ed commit 2da3a20

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches:
55
- master
66
- newbuild
7+
- branch_5.2.10
78
paths:
89
- RELEASE_NOTES.md
910
- .github/workflows/publish.yml

RELEASE_NOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 5.2.10.1
2+
- fix exception in Queries.QueryCell (backported from 5.2.15)
3+
14
### 5.2.10
25
- LASzip importer now supports LAS 1.4
36
- fix GenericChunk.Empty

src/Aardvark.Geometry.PointSet/Queries/QueriesCells.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public static CellQueryResult QueryCell(this IPointCloudNode root, Cell cell)
168168

169169
CellQueryResult QueryCellRecursive(IPointCloudNode n)
170170
{
171-
if (n.Cell == cell)
171+
if (n.Cell == cell || n.IsLeaf)
172172
{
173173
// found!
174174
return new CellQueryResult(root, cell, n);

0 commit comments

Comments
 (0)