You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… changes earlier (#2808)
### What
The issue was easiest to observe in the transform demo which relies
completely on heuristics to display anything (all transform arrows have
a configurable size): On startup or after reset nothing is visible until
something was selected. This happened because `class.prepare_ui` sets
the size (via heuristic) on the blueprint but `class.ui` would see the
propagated results only by next frame. At this point we discard the
entire blueprint unless there are manual changes. It seems changing the
selection in the blueprint alone is enough to trigger such a change.
To fix this I'm now simply applying the heuristic changes in the same
frame.
However, there seems to be a deeper underlying issue where until the
first selection (or other change) is done we're discarding the blueprint
every frame - once something is selected `sync_space_view` will
overwrite the previous snapshot and heuristic results will be applied.
This might be intended but seems rather odd. Expecation is that a lot of
this will go away once we reworked blueprints/properties as planned. cc:
@jleibs
part of #2779
### 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/2808) (if
applicable)
- [PR Build Summary](https://build.rerun.io/pr/2808)
- [Docs
preview](https://rerun.io/preview/pr%3Aandreas%2Ffix-transforms-not-shown-on-startup/docs)
- [Examples
preview](https://rerun.io/preview/pr%3Aandreas%2Ffix-transforms-not-shown-on-startup/examples)
Things to cover in release notes
Regressions to fix before release:
serve
#2232main
#2507Other easy bugs to fix before release
The text was updated successfully, but these errors were encountered: