Skip to content

Commit

Permalink
fix Length component transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Nov 14, 2024
1 parent 5de9ab4 commit ca3e0ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ namespace rerun.components;
struct Length (
"attr.python.aliases": "float",
"attr.python.array_aliases": "float, npt.NDArray[np.float32]",
"attr.rust.derive": "Copy, PartialEq, PartialOrd, bytemuck::Pod, bytemuck::Zeroable"
"attr.rust.derive": "Copy, PartialEq, PartialOrd, bytemuck::Pod, bytemuck::Zeroable",
"attr.rust.repr": "transparent"
) {
length: rerun.datatypes.Float32 (order: 100);
}
1 change: 1 addition & 0 deletions crates/store/re_types/src/components/length.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ca3e0ef

Please sign in to comment.