Skip to content

Fix xilonen geo sampler being active if all samplers were converted#2332

Merged
shizukayuki merged 1 commit intogenshinsim:mainfrom
jwalk-511:Xilonen-Sampler-Fix
Feb 6, 2025
Merged

Fix xilonen geo sampler being active if all samplers were converted#2332
shizukayuki merged 1 commit intogenshinsim:mainfrom
jwalk-511:Xilonen-Sampler-Fix

Conversation

@jwalk-511
Copy link
Contributor

@jwalk-511
Copy link
Contributor Author

I over-check sampler activity to try to "future-proof" edits. Probably not needed; either the call to activeGeoSampler() or the areas where the method is called could be reverted with no loss in functionality.

I chose to use checks against c.samplersConverted < or >= 3, this could be replaced with checks against cshredElements[attributes.Geo] if desired.

@shizukayuki shizukayuki changed the title Don't activate geo samplers if all samplers are converted. Fix xilonen geo sampler being active if all samplers were converted Feb 6, 2025
@shizukayuki shizukayuki added kind: bug Existing code is bugged area: internal Related to artifacts/weapons/characters labels Feb 6, 2025
@shizukayuki shizukayuki merged commit 50229b9 into genshinsim:main Feb 6, 2025
3 checks passed
@jwalk-511 jwalk-511 deleted the Xilonen-Sampler-Fix branch March 6, 2025 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: internal Related to artifacts/weapons/characters kind: bug Existing code is bugged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants