Skip to content

Commit

Permalink
Merge branch 'main' into vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
kring authored Aug 16, 2024
2 parents 44a47ee + 346daef commit 349214a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

##### Fixes :wrench:

- Fixed a bug introduced in the previous release that caused instanced tilesets to render incorrectly.
- Debug sections are no longer compressed on Linux and Android, improving compatibility.

### v2.7.1 - 2024-08-01
Expand Down
5 changes: 3 additions & 2 deletions Source/CesiumRuntime/Private/CesiumGltfComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1937,8 +1937,9 @@ static void loadInstancingData(
if (translationAccessor.status() == AccessorViewStatus::Valid) {
for (int64_t i = 0; i < count; ++i) {
glm::dvec3 translation(translationAccessor[i]);
instanceTransforms[i] =
glm::translate(instanceTransforms[i], translation);
instanceTransforms[i] = glm::translate(
instanceTransforms[i],
translation * CesiumPrimitiveData::positionScaleFactor);
}
}
} else {
Expand Down

0 comments on commit 349214a

Please sign in to comment.