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

WMO material defs inappropriately override one another #154

Open
fallenoak opened this issue Jun 10, 2016 · 1 comment
Open

WMO material defs inappropriately override one another #154

fallenoak opened this issue Jun 10, 2016 · 1 comment
Labels

Comments

@fallenoak
Copy link
Member

In each WMOGroup, when we load the group, we're manipulating some properties on the defs coming over from MOMT-- things like assigning indoor/outdoor flags, etc.

To avoid unexpected overrides of these properties, rather than directly manipulate the original MOMT material def object, we should clone the material def and then manipulate it.

@timkurvers
Copy link
Member

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants