Skip to content

Create MaterialSetTags without legacy materials #5118

@kezz

Description

@kezz

Is your feature request related to a problem? Please describe.
Creating a MaterialSetTag with the predicate constructor also includes legacy materials even when they aren't needed. This is odd because initialising using a list of materials by default removes legacy materials from the predicate.

Describe the solution you'd like
An additional constructor with a boolean to determine if legacy materials should be included. Also, this might be a breaking change but it might be worth making the non-boolean constructors default to ignoring legacy materials.

Describe alternatives you've considered
You cannot create a MaterialSetTag with a predicate if you don't want legacy materials in the tag. The only alternative is to construct a list of items and use the other constructor.

EDIT: Happy to do the code for this myself, would just like to know if such a feature would be acceptable or if there's some other option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.type: featureRequest for a new Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions