Skip to content

Commit

Permalink
Merge pull request #739 from CesiumGS/fix-smooth-normals
Browse files Browse the repository at this point in the history
Fix smooth normals crash
  • Loading branch information
corybarr authored Oct 5, 2024
2 parents b4831ba + 8f09694 commit e55dc6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

### v0.24.0 - 2024-11-01

* Fixed bug where smooth normals setting would crash.

### v0.23.0 - 2024-10-01

* Fixed bug where tilesets and raster overlays were not being passed the correct custom ellipsoid.
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/FabricVertexAttributeAccessors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ NormalsAccessor NormalsAccessor::GenerateSmooth(const PositionsAccessor& positio
}

auto accessor = NormalsAccessor();
accessor._size = normals.size();
accessor._computed = std::move(normals);
accessor._size = indices.size();
return accessor;
}

Expand Down

0 comments on commit e55dc6e

Please sign in to comment.