Commit Graph

1325 Commits

Author SHA1 Message Date
Marco Hutter d6bdbad56a Merge remote-tracking branch 'origin/main' into formatting-hint-readme 2021-03-19 16:28:29 +01:00
Kevin Ring b5e430134b
Merge pull request #175 from CesiumGS/missing-bing-credits
Fix per-tile credits not being passed through raster loading
2021-03-19 13:06:46 +11:00
Shehzan Mohammed 34abf7c7cf
Merge pull request #176 from CesiumGS/update-readme
Update Readme
2021-03-18 16:57:10 -04:00
Shehzan Mohammed 7356996f05
Update Readme 2021-03-18 16:57:02 -04:00
Shehzan Mohammed 13b496dc7a
Merge pull request #173 from CesiumGS/one-asset
Add a CesiumIonClient::Connection method to get a single asset from ion.
2021-03-18 16:20:01 -04:00
Nithin Pranesh 64ded494f4 Fix per-tile credits not being passed through raster loading 2021-03-18 15:34:08 -04:00
Marco Hutter b6e90d7662 Moved formatting hint to style guide 2021-03-18 14:46:27 +01:00
Kevin Ring b2c6b29b6c Add method to get a single asset from ion. 2021-03-18 18:52:49 +11:00
Kevin Ring e28d62d59c
Merge pull request #171 from CesiumGS/update-readme
Update README.md
2021-03-18 13:46:13 +11:00
Nithin Pranesh 19b1e55254
Merge pull request #170 from CesiumGS/clip-rectangle-removal
Remove raster overlay clipping code
2021-03-17 16:06:29 -04:00
Shehzan Mohammed 52ec32a0e7
Update README.md 2021-03-17 15:15:43 -04:00
Bao Tran 1b7ff38db8 format 2021-03-17 15:01:08 -04:00
Bao Tran bf5218d9f2 remove raster cutout 2021-03-17 14:22:40 -04:00
baothientran e98b7b7839
Merge pull request #167 from CesiumGS/holes
Upsample incomplete implicitly-tiled quads.
2021-03-17 10:25:45 -04:00
baothientran f7c3798376
Merge pull request #168 from CesiumGS/version
Use correct layer.json version property name.
2021-03-17 10:11:10 -04:00
Marco Hutter 426befe25f Add hint about formatting in README 2021-03-17 14:57:13 +01:00
Marco Hutter e824e89b0a Formatting 2021-03-17 14:49:27 +01:00
Kevin Ring 4a72fae7f7 Use correct layer.json version property name. 2021-03-17 22:34:04 +11:00
Kevin Ring e1bcbcb37b Upsample incomplete quads. 2021-03-17 22:01:27 +11:00
baothientran caee54e2e2
Merge pull request #164 from CesiumGS/tile-context-race-simpler
Fix a race condition with TileContext
2021-03-16 20:11:11 -04:00
baothientran 769e4b98e3
Merge pull request #165 from CesiumGS/raster-removal-fail
Correctly detach rasters when removing an overlay
2021-03-16 13:55:23 -04:00
Kevin Ring 92312deb78 Correctly detaches rasters when removing an overlay. 2021-03-16 18:24:51 +11:00
Marco Hutter a713a64601 Add URL to error messages 2021-03-15 17:59:08 +01:00
Marco Hutter 1999262de1 Merge remote-tracking branch 'origin/main' into handle-images-404 2021-03-15 16:03:13 +01:00
baothientran 0e2822c66a
Merge pull request #162 from CesiumGS/json-arrays
Correctly handle elements inside JSON arrays.
2021-03-15 09:54:19 -04:00
Kevin Ring fd1f4f5d13 Fix test failure and formatting. 2021-03-15 22:13:40 +11:00
Kevin Ring ed263443f0 Fix external tileset content. 2021-03-15 15:39:00 +11:00
Kevin Ring c4e7406e22 Remove context property from TileContentLoadInput.
But ExternalTilesetContent is mostly disabled right now.
2021-03-15 14:08:18 +11:00
Kevin Ring 15e4e56d1c Don't resolve tile URL unnecessarily early. 2021-03-12 17:20:38 +11:00
Samuel Vargas 11413ee747
Run clang-format on all changed files 2021-03-11 15:15:59 -05:00
Samuel Vargas 49cba1547c
Remove accidentally added fi le 2021-03-11 15:14:50 -05:00
Samuel Vargas 258f1a1993
Add test to verify deserializeExtensionsAsJsonValue is respected 2021-03-11 15:01:01 -05:00
Samuel Vargas f81dd2c218
Use references to avoid extraneous copies. 2021-03-11 14:40:13 -05:00
Samuel Vargas f685ceff51
Propagate `ReadModelOptions` to ALL JsonHandlers
This commit adds conditional support for propagating the
`ReadModelOptions` variable to the root JsonValue class for all of
its children. CesiumGltfReader was designed with the philosophy that
extensions should be well defined and that CesiumGltfReader should
take responsbility for decoding extensions. This is a fine idea, but we've
ran into a usecase where we need CesiumGltfReader to support decoding
new / developing / unknown / WIP extensions.

This commit adds the `deserializeExtensionsAsJsonValue` bool to ReadModelOptions
and for each ***JsonHandler, forwards it to the root via super() constructor invocations.
This opens the door for other  "while serializing" options to be stored in
ReadModelOptions

The deserializeExtensionsAsJsonValue variable itself instructs CesiumGltfReader
to add any extensions it encounters in the Gltf string as a `JsonValue::Object` inside
the std::vector<std::any>, so that users of the libraries can retrieve it and do their
own casting.
2021-03-11 14:30:11 -05:00
Samuel Vargas eb3cb751bf
Always serialize extensions as a JsonValue::Object for clients to
use directly.

(This will be wrapped in a conditional flag in the next commit)
2021-03-11 09:41:03 -05:00
Kevin Ring c0225f0e7d Flesh out JSON array test. 2021-03-11 10:09:55 +11:00
Kevin Ring d671ae6ee8 Remove unnecessary header. 2021-03-11 10:03:32 +11:00
Kevin Ring 5a3c10a020 Correctly handle elements inside JSON arrays. 2021-03-11 10:02:15 +11:00
Samuel Vargas 94c77dd89e
Merge tag 'post-clang-format' into gltf-writer-clang-format
The commit that ran clang-format on the entire codebase and made no other changes.
2021-03-09 16:36:39 -05:00
Samuel Vargas 2678459aea
Merge tag 'pre-clang-format' into gltf-writer-clang-format
The last commit before we ran clang-format on the entire codebase
2021-03-09 16:31:49 -05:00
Marco Hutter 765c1ad16e Merge remote-tracking branch 'origin/master' into handle-images-404-merge-own 2021-03-09 19:35:58 +01:00
Marco Hutter e4d9a1ced9 Merge tag 'post-clang-format' into handle-images-404-merge-own
The commit that ran clang-format on the entire codebase and made no other changes.
2021-03-09 19:34:15 +01:00
Marco Hutter 890e46b930 Merge tag 'pre-clang-format' into handle-images-404-merge-own
The last commit before we ran clang-format on the entire codebase
2021-03-09 19:30:34 +01:00
Kevin Ring b81f3a71f2
Merge pull request #160 from CesiumGS/formatting
Formatting automation and CI
2021-03-09 17:18:56 +11:00
Kevin Ring b8bb9b79b3 Re-run the formatter. 2021-03-09 16:26:14 +11:00
Kevin Ring be6680cbd5 Actually check for formatting errors. 2021-03-09 16:15:27 +11:00
Kevin Ring 846a208468 Broken formatting to test CI. 2021-03-09 16:09:08 +11:00
Kevin Ring 7f9a12e1fb Add npm install for formatting check on Travis. 2021-03-09 16:05:09 +11:00
Kevin Ring 2153e51a30 Add easy way to format the whole codebase, and check formatting on CI. 2021-03-09 16:02:13 +11:00
Shehzan Mohammed 8a2957d32f Run clang format 2021-03-08 20:39:46 -05:00