Skip to content

Commit

Permalink
Merge 6bbe09b into a670a0f
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer committed Mar 12, 2024
2 parents a670a0f + 6bbe09b commit c3667e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/layers/src/point-cloud-layer/point-cloud-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ function normalizeData(data) {
attributes.instanceNormals = attributes.NORMAL;
}
if (attributes.COLOR_0) {
attributes.instanceColors = attributes.COLOR_0;
const {size, value} = attributes.COLOR_0;
attributes.instanceColors = {size, type: 'unorm8', value};
}
}

Expand Down

0 comments on commit c3667e8

Please sign in to comment.