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

feat: Skip certain combination of layers #1527

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Randy1Burrell
Copy link

What does this PR do?
This PR gives the user the ability to add an option to skip certain combinations of layers that might cause them to look weird.

How to use:
Add pairs of layer names to the skipLayerMatch array to any objects in the layerConfigurations array. Ex:

const layerConfigurations = [
  {
    growEditionSizeTo: 5,
    layersOrder: [
      { name: "Background" },
      { name: "Eyeball" },
      { name: "Eye color" },
      { name: "Iris" },
      { name: "Shine" },
      { name: "Bottom lid" },
      { name: "Top lid" },
    ],
    skipLayerMatch: [
      ["Black", "Green"],
      ["Middle", "Purple"],
    ]
  },
];

This commit skips certain combinations of layers.
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.

1 participant