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
oceantume opened this issue
Mar 7, 2022
· 0 comments
Labels
A-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorD-TrivialNice and easy! A great choice to get started with Bevy
# Objective
Fixesbevyengine#4133
## Solution
Add comparisons to make sure we don't dereference `Mut<>` in the two places where `Transform` is being mutated. `GlobalTransform` implementation already works properly so fixing Transform automatically fixed that as well.
ItsDoot
pushed a commit
to ItsDoot/bevy
that referenced
this issue
Feb 1, 2023
# Objective
Fixesbevyengine#4133
## Solution
Add comparisons to make sure we don't dereference `Mut<>` in the two places where `Transform` is being mutated. `GlobalTransform` implementation already works properly so fixing Transform automatically fixed that as well.
A-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behaviorD-TrivialNice and easy! A great choice to get started with Bevy
Bevy version
0.6.1
What you did
Run the following bevy app
What you expected to happen
The print should only happen when the value of
GlobalTransform
is actually changed.What actually happened
A line is printed on every frame, even when the value of
GlobalTransform
doesn't change.Additional information
The issue is present when watching both Transform and GlobalTransform.
This is basically the same issue as #3784 but for the
GlobalTransform
component instead ofNode
. The fix will be very similar.The text was updated successfully, but these errors were encountered: