Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into ue55
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Nov 21, 2024
2 parents d30fd44 + 6babafe commit fc9b5fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void FCesiumPropertyTableSpec::Define() {
model = CesiumGltf::Model();
pExtension =
&model.addExtension<CesiumGltf::ExtensionModelExtStructuralMetadata>();
pExtension->schema = CesiumGltf::Schema();
pExtension->schema.emplace();
pPropertyTable = &pExtension->propertyTables.emplace_back();
});

Expand All @@ -44,7 +44,7 @@ void FCesiumPropertyTableSpec::Define() {
});

It("constructs invalid instance for missing schema", [this]() {
pExtension->schema = std::nullopt;
pExtension->schema.reset();

FCesiumPropertyTable propertyTable(model, *pPropertyTable);
TestEqual(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void FCesiumPropertyTextureSpec::Define() {
BeforeEach([this]() {
model = Model();
pExtension = &model.addExtension<ExtensionModelExtStructuralMetadata>();
pExtension->schema = Schema();
pExtension->schema.emplace();
pPropertyTexture = &pExtension->propertyTextures.emplace_back();
});

Expand All @@ -55,7 +55,7 @@ void FCesiumPropertyTextureSpec::Define() {
});

It("constructs invalid instance for missing schema", [this]() {
pExtension->schema = std::nullopt;
pExtension->schema.reset();

FCesiumPropertyTexture propertyTexture(model, *pPropertyTexture);
TestEqual(
Expand Down
2 changes: 1 addition & 1 deletion extern/cesium-native
Submodule cesium-native updated 125 files

0 comments on commit fc9b5fb

Please sign in to comment.