Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add experimental setting flag to always enable visualizer selection (#…
…5215) ### What Currently, we show visualizer overrides only in the time series view since we haven't tested this mechanism all that much. And it's true, stuff behind is is somewhat brittle! So this PR allows you to test it by adding a new experimental flag! This is what I wanted to get, but it requires some more work unfortunately: ![image](https://github.com/rerun-io/rerun/assets/1220815/26e479fd-3787-4997-b127-3fe2e07a352f) Things missing for the demonstrated usecase: * Image visualizer has this snippet to protect against showing both a depth and image texture. ``` // If this isn't an image, return // TODO(jleibs): The ArchetypeView should probably do this for us. if !ctx.entity_db.store().entity_has_component( &ctx.current_query().timeline, ent_path, &Image::indicator().name(), ) { return Ok(()); } ``` * Really what we need to do here is to split up the image visualizer into several. We can do this now! It's a similar problem like the one we solved in time series view * 2D view freaks out when the origin is not set to world/Lantern because 2D view takes great interest in 3D transforms that confuse the hell out of it ### 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 the web demo (if applicable): * Using newly built examples: [app.rerun.io](https://app.rerun.io/pr/5215/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/5215/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [app.rerun.io](https://app.rerun.io/pr/5215/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/5215) - [Docs preview](https://rerun.io/preview/bd311af7f51ec3aadf89f5dd18ddc92ab3df9695/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/bd311af7f51ec3aadf89f5dd18ddc92ab3df9695/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
- Loading branch information