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

Removing filters when destroying a group. #844

Closed
wants to merge 1 commit into from

Conversation

Jmaharman
Copy link

When a filter is applied to the world it is not removed when the group (which it inherits the prototype from) is destroyed. This clears up the filters variable as also done in sprites.

I'm not entirely sure what is best practice in the grand scheme of things though, perhaps this is required functionality and filters should not be applied at world level.

When a filter is applied to the world it is not removed when the group is destroyed. This clears up the filters variable as also done in sprites.
@Jmaharman
Copy link
Author

Sorry, that should have been on the dev branch.

@photonstorm
Copy link
Collaborator

Thanks, I can't merge (because master) but have applied it locally.

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.

None yet

2 participants