Skip to content

feat: Skip certain combination of layers#1527

Open
Randy1Burrell wants to merge 1 commit intoHashLips:mainfrom
yaadlabs:main
Open

feat: Skip certain combination of layers#1527
Randy1Burrell wants to merge 1 commit intoHashLips:mainfrom
yaadlabs:main

Conversation

@Randy1Burrell
Copy link
Copy Markdown

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