Skip to content

Commit

Permalink
feat: recover hair, when headwear is not selected (#224)
Browse files Browse the repository at this point in the history
## [SDK-777](https://ready-player-me.atlassian.net/browse/SDK-777)

## Description

-   Recover hair, when headwear is selected

## How to Test

-   Test in experimental scene, that this works correctly





[SDK-777]:
https://ready-player-me.atlassian.net/browse/SDK-777?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
  • Loading branch information
rk132 authored Feb 13, 2024
2 parents cfe1df7 + 22238d2 commit e2f2f3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void AddClearButton(SelectionButton button, AssetType assetType, bool set
{
clearButton.transform.SetAsFirstSibling();
}
var assetData = new PartnerAsset { Id = "0", AssetType = assetType };
var assetData = new PartnerAsset { Id = "", AssetType = assetType };
clearButton.AddListener(() => OnAssetSelected?.Invoke(assetData));
clearButton.AddListener(() => SetButtonSelected(clearButton.transform));
}
Expand Down

0 comments on commit e2f2f3c

Please sign in to comment.