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

Allow a tile's object group (collision objects) be cleared via script #3502

Conversation

lhiginbotham
Copy link
Contributor

	- fixes mapeditor#3495 by handling the case where a user calls `tile.objectGroup = null`, allowing the user to clear out assigned collision shape objects
@lhiginbotham
Copy link
Contributor Author

FYI @bjorn and @juanitogan, tested it out and it seems to work. Let me know if there are any unforeseen issues with this 😃

@bjorn bjorn merged commit f138cf5 into mapeditor:master Oct 21, 2022
@bjorn
Copy link
Member

bjorn commented Oct 21, 2022

@lhiginbotham Yes, patch looked fine, thanks!

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.

Can't set Tile.objectGroup back to null
2 participants