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

avm2: Stub DisplayObject.metaData #15826

Merged
merged 2 commits into from Apr 1, 2024
Merged

Conversation

evilpie
Copy link
Collaborator

@evilpie evilpie commented Mar 31, 2024

Fixes #15473. This is still marked as a stub because I didn't add support for actually using the AMF data from the PlaceObject4 tag.

@@ -225,6 +225,8 @@ pub struct DisplayObjectBase<'gc> {
/// The display object we are currently masking.
maskee: Option<DisplayObject<'gc>>,

meta_data: Option<Avm2Object<'gc>>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

For the future, are we sure that this isn't Avm2Value and not Avm2Object?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't know. Probably unlikely, but it obviously depends on how Flash treats the AMF data in PlaceObject4.

@evilpie evilpie merged commit a8c917a into ruffle-rs:master Apr 1, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Hazel Eyes
2 participants