Skip to content

Conversation

@SuchAFuriousDeath
Copy link
Collaborator

@SuchAFuriousDeath SuchAFuriousDeath commented Jan 4, 2026

Requires #22610 because of let chains.

Fixes #17883, fixes #18768 and fixes #14540 (tested), fixes #22686.

All 4 are actually the same game, so #17883, #18768 and #22686 are actually duplicates.

@SuchAFuriousDeath SuchAFuriousDeath force-pushed the shader-param-default-values branch 2 times, most recently from 64a168e to 674476b Compare January 4, 2026 23:14
@danielhjacobs danielhjacobs added A-avm2 Area: AVM2 (ActionScript 3) T-fix Type: Bug fix (in something that's supposed to work already) labels Jan 5, 2026
@kjarosh kjarosh added the waiting-on-review Waiting on review from a Ruffle team member label Jan 5, 2026
@SuchAFuriousDeath SuchAFuriousDeath force-pushed the shader-param-default-values branch 3 times, most recently from 8f34538 to 473531b Compare January 8, 2026 22:06
When setting `shader.data.param = value` directly instead of the correct
`shader.data.param.value = [value]`, Flash silently uses the parameter's
default value from shader metadata. Previously Ruffle would error with
"Shader property is not an object".

Fixes ruffle-rs#17883, fixes ruffle-rs#18768, fixes ruffle-rs#14540, fixes ruffle-rs#22686
@SuchAFuriousDeath SuchAFuriousDeath force-pushed the shader-param-default-values branch from 473531b to 9f3a2c4 Compare January 9, 2026 00:53
@SuchAFuriousDeath SuchAFuriousDeath force-pushed the shader-param-default-values branch from 9f3a2c4 to adc60de Compare January 9, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-avm2 Area: AVM2 (ActionScript 3) T-fix Type: Bug fix (in something that's supposed to work already) waiting-on-review Waiting on review from a Ruffle team member

Projects

None yet

3 participants