Skip to content

Commit

Permalink
Fix smooth normals size
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Oct 4, 2024
1 parent b4831ba commit 8f09694
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 8f09694

Please sign in to comment.