Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/remove entities modal doesnt allow adding to a 2D space view #4826

Closed
abey79 opened this issue Jan 16, 2024 · 2 comments · Fixed by #4937
Closed

Add/remove entities modal doesnt allow adding to a 2D space view #4826

abey79 opened this issue Jan 16, 2024 · 2 comments · Fixed by #4937
Labels
🪳 bug Something isn't working

Comments

@abey79
Copy link
Member

abey79 commented Jan 16, 2024

The add/remove entities modal doesn't let adding anything to a 2D space view with he ARKit example. This is possibly a heuristics bug?

image

Repro

  • Open ARKit example
  • Remove everything from the blueprint
  • Add an empty 2D space view
  • Use the add/remove entities modal

Expected: stuff can be added (at least camera_lowres etc.)

Actual: nothing is enabled

@abey79 abey79 added the 🪳 bug Something isn't working label Jan 16, 2024
@Wumpf Wumpf self-assigned this Jan 16, 2024
@abey79
Copy link
Member Author

abey79 commented Jan 16, 2024

The reason for this is that that 2D space view has a space origin that is not compatible with any 2D content. It's space origin should be set to the entity that has the pinhole transform (or below) to be able to accept content.

For 0.12, the workaround is to create a 2d space view with a suitable space origin from the + button in the blueprint panel.

In 0.13, it will be possible to change the space origin of a space view.

@Wumpf
Copy link
Member

Wumpf commented Jan 28, 2024

The behavior hasn't changed but:

  • it is now possible to change the origin
  • internally the situation is much better defined: None of the entities are visualizable from the space since they'd require a 3D->2D projection starting with a 2D eye which is an invalid transformation

So what's to do here now is to allow adding entities anyways (blueprint could do this!) and give the right hints why something doesn't execute a given visualizer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants