Skip to content

Commit

Permalink
I think we should allow [] here
Browse files Browse the repository at this point in the history
  • Loading branch information
autra committed Jan 20, 2020
1 parent c91ab92 commit 5d66708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py3dtiles/points/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def to_tileset(executor, name, parent_aabb, parent_spacing, folder, scale):
if executor is not None:
children = [t for t in executor.map(node_to_tileset, children)]

if children:
if children is not None:
tileset['children'] = children
else:
tileset['geometricError'] = 0.0
Expand Down

0 comments on commit 5d66708

Please sign in to comment.