-
Notifications
You must be signed in to change notification settings - Fork 78
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 gizmo crate to transform_gizmo_bevy
to update egui
version
#106
Closed
ActuallyHappening
wants to merge
6
commits into
jakobhellermann:main
from
ActuallyHappening:update-gizmos
Closed
Update gizmo crate to transform_gizmo_bevy
to update egui
version
#106
ActuallyHappening
wants to merge
6
commits into
jakobhellermann:main
from
ActuallyHappening:update-gizmos
Conversation
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
but a bit buggy
accidentally committed changes
and added documentation here and there
pub camera_gizmo_active: bool, | ||
pub gizmo_mode: GizmoMode, | ||
/// Synced with the [transform_gizmo_bevy::GizmoOptions] resource | ||
pub gizmo_modes: EnumSet<GizmoMode>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only breaking change, at least that I can see
Could we get this merged @jakobhellermann |
to avoid panics
5 tasks
Hi, I kinda missed this PR, sorry. I'll merge it together with #110 when the required dependencies are updated |
merged in #110 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
OK this looks completed and polished to me, can somebody review and merge this? Ideally then a publish to crates.io using the latest Cargo.toml / dependencies would be greatly appreciated (see issue #105)
Technically this is a breaking change, since one field of the
GizmoState
struct (used for the state of theEditorWindow
trait implementation) changed types fromegui-gizmo::GizmoMode
toEnumSet<transform_gizmo_bevy::GizmoMode
, although I doubt anybody was actually depending on this and hence I think a patch release to 0.8.2 is OKSo far this updates
egui-gizmo
withtransform-gizmo-bevy
, which is the new version of the old crate and which internally uses the newest version ofegui
(0.27). It implements the hotkeys mapping (although there is a builtin hotkey system intransform-gizmo-bevy
anyway), and mimics the old behaviour of starting out with translate only gizmos.