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 smart wearable restricted actions call from ui #6012

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

pravusjif
Copy link
Member

@pravusjif pravusjif commented Dec 8, 2023

Removed unneeded scene tick check for allowing a restricted action to be called from ui.

The bug was introduced while fixing other stuff at #5538.

Fixes decentraland/sdk#1026.

I tested that the restricted actions functionality still works on regular sdk7 scenes with or without UI, and now it works fine for smart wearables with or without UI.

Copilot summary

🤖[deprecated] Generated by Copilot at d331c82

This pull request removes the EnableRestrictedActionTick field and its related logic from the InternalEngineInfo ECS component model and the ECSInputSenderSystem class, as well as the corresponding tests. This field was used to control the restricted actions in edit mode, but this logic was moved to the kernel side. The pull request also simplifies the condition for checking the edit mode in the SceneStateHandler class, using only the SceneTick field.

@pravusjif pravusjif self-assigned this Dec 8, 2023
@pravusjif pravusjif changed the title removed unneeded restricted actions scene tick check fix: sdk7 smart wearable restricted actions call from ui Dec 8, 2023
@pravusjif pravusjif requested review from davidejensen, Kinerius and a team and removed request for a team December 8, 2023 03:05
@pravusjif pravusjif marked this pull request as ready for review December 8, 2023 03:06
@pravusjif pravusjif requested a review from a team as a code owner December 8, 2023 03:06
@github-actions github-actions bot requested a review from anicalbano December 8, 2023 03:06
@pravusjif pravusjif added the No QA Needed Issues which do not require QA testing label Dec 8, 2023
@pravusjif pravusjif removed request for a team and anicalbano December 8, 2023 03:11
@anicalbano anicalbano self-requested a review December 8, 2023 11:24
@pravusjif pravusjif removed the request for review from Kinerius December 8, 2023 11:40
@pravusjif pravusjif merged commit 0e600db into dev Dec 8, 2023
5 checks passed
@pravusjif pravusjif deleted the fix/sdk7-smart-wearable-restricted-actions-from-ui branch December 8, 2023 11:48
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.

Outbound links does not work for UI buttons in sdk7 for smart wearables
3 participants