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

Fixed m-video enabled attribute reusability bug #153 #154

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

MarcusLongmuir
Copy link
Collaborator

Fixes #153

This PR fixes an issue where if the enabled attribute of an m-video was set to false, setting it back to true would not bring the video back as the material would not be assigned back to the mesh.

The fix also fixes a related issue where setting enabled="false" would not actually stop the video from playing sound.

The change to fix both issues is to actually disable the current content completely and then re-enable it when enabled="false" is removed.


What kind of changes does your PR introduce? (check at least one)

  • Bugfix

Does your PR introduce a breaking change? (check one)

  • No

Does your PR fulfill the following requirements?

  • All tests are passing
  • The title references the corresponding issue # (if relevant)

@TheCodeTherapy TheCodeTherapy merged commit f4d1f18 into main Mar 7, 2024
8 checks passed
@MarcusLongmuir MarcusLongmuir deleted the bugfix/video-enabled branch March 7, 2024 10:54
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.

m-video enabled & src regression
2 participants