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

Update to Bevy 0.9 #168

Merged
merged 4 commits into from
Nov 13, 2022
Merged

Update to Bevy 0.9 #168

merged 4 commits into from
Nov 13, 2022

Conversation

olegomon
Copy link
Contributor

@olegomon olegomon commented Nov 7, 2022

@aevyrie I prepared a small PR which updates some of the deprecated Bevy APIs. Let me know if that's ok, any feedback appreciated.

  • use spawn() instead of spawn_bundle()
  • use insert() instead of insert_bundle()
  • use new DefaultPlugins API

I split the HighlightablePickingPlugins from being a part of DefaultPickingPlugins I was not sure what would be a better alternative to merging two plugin groups in the PluginGroup::build trait implementation. Is that ok or do you have a suggestion on what to do there?

- use spawn() instead of spawn_bundle()
- use insert() instead of insert_bundle()
- use new DefaultPlugins API
examples/deselection.rs Outdated Show resolved Hide resolved
@aevyrie
Copy link
Owner

aevyrie commented Nov 13, 2022

Thank you! I'd prefer to keep the API the same, and include highlighting with the default plugins. The plugin group isn't needed, so I will simply add the two highlighting plugins to the default plugin builder.

@aevyrie aevyrie merged commit 8d21fb0 into aevyrie:main Nov 13, 2022
@aevyrie
Copy link
Owner

aevyrie commented Nov 13, 2022

@olegomon could you please read this #138 and comment on the thread so we can relicense as MIT + Apache?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants