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

Lookup correct generated output for bundle type in RawPackager #1393

Merged
merged 1 commit into from
May 19, 2018

Conversation

dobesv
Copy link
Contributor

@dobesv dobesv commented May 19, 2018

When an Asset generates multiple assets with different types, RawPackager would give the same output for every entry in asset.generated even if they have different types and values. This is because it used the asset's primary type asset.type instead of the type for the bundle it is actually generating (this.bundle.type).

This fixes it so that RawPackager uses the bundle type so that the correct entry in generated is read for each bundle.

When an `Asset` generates multiple assets with different types, `RawPackager` would give the same output for every entry in `asset.generated` even if they have different types and values.  This is because it used the asset's primary type `asset.type` instead of the type for the bundle it is actually generating (`this.bundle.type`).

This fixes it so that `RawPackager` uses the bundle type so that the correct entry in `generated` is read for each bundle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants