Closed baothientran closed 3 years ago
Make sure to update CHANGES.md
after https://github.com/CesiumGS/cdb-to-3dtiles/pull/23 is merged.
Is it possible to add a unit test for this?
@lilleyse I updated the test in the new commit
Thanks @baothientran. While the test ended up being way more work than the fix itself I think it'll be a good safeguard for both for this edge case and the uniform grid mesh in general.
Also, please update CHANGES.md
, then we can get this merged.
@lilleyse updated
Thanks Bao!
Sometime, when the decimation is more aggressive, the simplified mesh will be empty. If it is, we will use uniform grid mesh instead. That should not happen too often and only when uniform grid mesh is too small