-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3D->2D & 2D->3D selection visualizations stick now around on selection (
#4587) ### What * Fixes: #3047 Makes the 2D->3D and 3D->2D sticky upon selection! Going the extra mile to make selection history be aware of this added a bit more stuff, but the code is better off overall I think :) https://github.com/rerun-io/rerun/assets/1220815/b59f6f07-b7f4-4e62-b14e-2d8385f49fd5 **Update!** Now also works fine with multielection! We now associate each item selection with an optional space context. Right now you can't space context without items, but this is not a structural limitation. Toggle (ctrl+cmd select action) behavior has a few new special rules now: If you change the space view context on an already selected object its context is updated. If you add a new object, we add it to the list _with_ the context. Overall this paves also the way to displaying the context together with the selected item in a more sane way. Should be easier to reason with in general I believe. https://github.com/rerun-io/rerun/assets/1220815/728b569f-e527-4dcd-b346-1007dccea8c7 ### 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/4587/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/4587/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/4587/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 - [PR Build Summary](https://build.rerun.io/pr/4587) - [Docs preview](https://rerun.io/preview/5d4f28365919b9ad57af36e5a7779ec8e9d156a8/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/5d4f28365919b9ad57af36e5a7779ec8e9d156a8/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
Showing
18 changed files
with
362 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.