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

fix: sdk7 avatar shape reposition on scene reload #6015

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

pravusjif
Copy link
Member

@pravusjif pravusjif commented Dec 10, 2023

Added missing variable reset on cleanup: without that any sdk7 avatar shape entity gets wrongly repositioned when its scene is reloaded (by moving away or by hot reload).

Fixes decentraland/sdk#1051.

Copilot summary

🤖[deprecated] Generated by Copilot at 396a36e

Fix avatar position bug when switching realms by resetting initializedPosition flag in AvatarShape component.

@pravusjif pravusjif self-assigned this Dec 10, 2023
@pravusjif pravusjif added the No QA Needed Issues which do not require QA testing label Dec 12, 2023
@pravusjif pravusjif marked this pull request as ready for review December 12, 2023 12:45
@pravusjif pravusjif requested a review from a team as a code owner December 12, 2023 12:45
@pravusjif pravusjif requested review from popuz and removed request for a team December 12, 2023 12:54
Copy link
Collaborator

@popuz popuz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sense :)

@pravusjif pravusjif merged commit 0a70545 into dev Dec 13, 2023
11 checks passed
@pravusjif pravusjif deleted the fix/sdk7-avatar-shape-reposition-on-scene-reload branch December 13, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No QA Needed Issues which do not require QA testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AvatarShape components issue with Avatar position
2 participants