Skip to content
Snippets Groups Projects

Applying lenses via preset fix

Merged Perry requested to merge (removed):smallfixes into dev

Started with some smaller fixes/typos until I realised applying lenses via a preset wasn't working. Fixed it by making the checks more specific and simplified some code by removing checks that were being done twice.

<<if $makeup.owned.eyelenses.includes(_args[1]) or $makeup.owned.custom_eyelenses.includes(_args[1])>> is removed because it isn't possible to remove lenses from your inventory after you have them (so you always own them if you have a preset with them).

The rest of the changes in regards to contact lenses are mostly more specific checks and some changes to make sure the the colors are displayed in the preview text (see attachments)

image image image

Edited by Perry

Merge request reports

Merged by VrelnirVrelnir 2 years ago (Jul 30, 2022 10:20pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading