Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed default stroke width handling in
log_line_strip_Xd
and `log_o…
…bbs` (#3720) ### What Fixes: - #3711 Tested with: ```python import rerun as rr rr.init("rerun_example_line_strip3d", spawn=True) points_3d = [ [0, 0, 0], [0, 0, 1], [1, 0, 0], [1, 0, 1], [1, 1, 0], [1, 1, 1], [0, 1, 0], [0, 1, 1], ] points_2d = [ [ [0, 0], [1, 0], [1, 1], [0, 1], ], [ [2, 2], [3, 3], [3, 4], [5, 2], ], ] rr.log_line_strips_3d("strip", [points_3d]) rr.log_line_strips_2d("strip2", points_2d) rr.log_obbs("obb", positions=[[0, 0, 0], [10, 10, 10]], half_sizes=[[1, 1, 1], [2, 2, 2]]) rr.log_transform3d("with_width", rr.Translation3D([3, 3, 3])) rr.log_line_strips_3d("with_width/strip", [points_3d], stroke_widths=0.2) rr.log_line_strips_2d("with_width/strip2", points_2d, stroke_widths=[0.2, 0.3]) rr.log_obbs("with_width/obb", positions=[[0, 0, 0], [10, 10, 10]], half_sizes=[[1, 1, 1], [2, 2, 2]], stroke_widths=[0.2, 0.3]) ``` <img width="1137" alt="image" src="https://github.com/rerun-io/rerun/assets/49431240/44190351-bde5-4103-b2f5-e7f8c51444da"> ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] ~~I have tested [demo.rerun.io](https://demo.rerun.io/pr/3720) (if applicable)~~ - [PR Build Summary](https://build.rerun.io/pr/3720) - [Docs preview](https://rerun.io/preview/d4a3314f43e1e62547478362cc04b157a34b462c/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/d4a3314f43e1e62547478362cc04b157a34b462c/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://ref.rerun.io/dev/bench/) - [Wasm size tracking](https://ref.rerun.io/dev/sizes/)
- Loading branch information